Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Components.Validation.Sensors,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Sensors,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 91.53 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008779/0.008779, allocations: 172.8 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.558/2.558, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 13.83 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2936, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.8306/1.124, allocations: 256.3 MB / 1.309 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01816/1.142, allocations: 18.97 MB / 1.328 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/1.144, allocations: 42.56 kB / 1.328 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/1.146, allocations: 0.6114 MB / 1.328 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003995/1.15, allocations: 1.719 MB / 1.33 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00308/1.153, allocations: 1.296 MB / 1.331 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00412/1.157, allocations: 4.539 MB / 1.336 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/1.158, allocations: 0.971 MB / 1.337 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006364/1.165, allocations: 2.894 MB / 1.339 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/1.166, allocations: 0.9945 MB / 1.34 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.286e-05/1.166, allocations: 50.84 kB / 1.34 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/1.168, allocations: 1.709 MB / 1.342 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/1.169, allocations: 356.9 kB / 1.342 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006589/1.169, allocations: 0.6669 MB / 1.343 GB, free: 16.92 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/1.171, allocations: 2.064 MB / 1.345 GB, free: 16.71 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/1.171, allocations: 4 kB / 1.345 GB, free: 16.7 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/1.171, allocations: 0 / 1.345 GB, free: 16.7 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.267e-05/1.171, allocations: 0 / 1.345 GB, free: 16.7 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001628/1.173, allocations: 1.358 MB / 1.346 GB, free: 15.85 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/1.173, allocations: 13.34 kB / 1.346 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/1.173, allocations: 145.9 kB / 1.347 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.174, allocations: 281.6 kB / 1.347 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/1.175, allocations: 0.8254 MB / 1.348 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/1.175, allocations: 71.94 kB / 1.348 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/1.176, allocations: 100.5 kB / 1.348 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/1.177, allocations: 0.98 MB / 1.349 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/1.177, allocations: 2.531 kB / 1.349 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/1.177, allocations: 38.16 kB / 1.349 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/1.177, allocations: 23.47 kB / 1.349 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009533/1.178, allocations: 0.6524 MB / 1.349 GB, free: 15.18 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/1.182, allocations: 4.39 MB / 1.354 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/1.182, allocations: 251.4 kB / 1.354 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/1.182, allocations: 129.7 kB / 1.354 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005552/1.183, allocations: 323 kB / 1.354 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/1.183, allocations: 41.19 kB / 1.354 GB, free: 12.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 1.784e-06/1.183, allocations: 0 / 1.354 GB, free: 12.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.0008094/1.183, allocations: 480.1 kB / 1.355 GB, free: 11.97 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/1.184, allocations: 61.19 kB / 1.355 GB, free: 11.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/1.185, allocations: 1.079 MB / 1.356 GB, free: 11.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/1.185, allocations: 32.05 kB / 1.356 GB, free: 11.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/1.185, allocations: 0.5879 MB / 1.357 GB, free: 11.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/1.185, allocations: 106.7 kB / 1.357 GB, free: 11.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/1.185, allocations: 50.78 kB / 1.357 GB, free: 11.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/1.185, allocations: 328.2 kB / 1.357 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/1.186, allocations: 132.1 kB / 1.357 GB, free: 11.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/1.186, allocations: 400.2 kB / 1.358 GB, free: 10.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/1.186, allocations: 0.5006 MB / 1.358 GB, free: 10.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.186, allocations: 0 / 1.358 GB, free: 10.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00072/1.187, allocations: 0.591 MB / 1.359 GB, free: 10.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000156/1.187, allocations: 296.8 kB / 1.359 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.187, allocations: 6.469 kB / 1.359 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.187, allocations: 8 kB / 1.359 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/1.188, allocations: 175.2 kB / 1.359 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/1.189, allocations: 2.361 MB / 1.361 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/1.19, allocations: 119.6 kB / 1.362 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/1.19, allocations: 27.09 kB / 1.362 GB, free: 7.715 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-06/1.19, allocations: 3.281 kB / 1.362 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005683/1.191, allocations: 467.4 kB / 1.362 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.191, allocations: 5.312 kB / 1.362 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/1.191, allocations: 11.84 kB / 1.362 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/1.191, allocations: 122 kB / 1.362 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.191, allocations: 13 kB / 1.362 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/1.191, allocations: 118.4 kB / 1.362 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/1.192, allocations: 26.53 kB / 1.362 GB, free: 7.652 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003472/1.192, allocations: 366.2 kB / 1.363 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/1.192, allocations: 117.9 kB / 1.363 GB, free: 7.395 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006028/1.193, allocations: 415.5 kB / 1.363 GB, free: 7.324 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.193, allocations: 2.156 kB / 1.363 GB, free: 7.324 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.193, allocations: 2.531 kB / 1.363 GB, free: 7.324 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.193, allocations: 4 kB / 1.363 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/1.194, allocations: 1.297 MB / 1.364 GB, free: 6.926 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.194, allocations: 7.5 kB / 1.364 GB, free: 6.922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/1.195, allocations: 87.56 kB / 1.365 GB, free: 6.918 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.195, allocations: 2.688 kB / 1.365 GB, free: 6.918 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/1.195, allocations: 12.5 kB / 1.365 GB, free: 6.918 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009242/1.196, allocations: 2.348 MB / 1.367 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.196, allocations: 288 / 1.367 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006477/1.196, allocations: 0.6693 MB / 1.368 GB, free: 4.293 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/1.197, allocations: 220.1 kB / 1.368 GB, free: 4.137 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.197, allocations: 8.375 kB / 1.368 GB, free: 4.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/1.197, allocations: 48.44 kB / 1.368 GB, free: 4.129 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/1.197, allocations: 31.48 kB / 1.368 GB, free: 4.121 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/1.197, allocations: 13.31 kB / 1.368 GB, free: 4.121 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000756/1.198, allocations: 0.7425 MB / 1.369 GB, free: 4.012 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.198, allocations: 0 / 1.369 GB, free: 4.012 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00107/1.199, allocations: 491.3 kB / 1.369 GB, free: 3.957 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (hum.senMasFra.X,ent.senSpeEnt.h_out,tem.senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/1.2, allocations: 1.316 MB / 1.37 GB, free: 3.129 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001286/1.202, allocations: 0.6505 MB / 1.371 GB, free: 3.105 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.202, allocations: 3.531 kB / 1.371 GB, free: 3.105 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/1.202, allocations: 172.9 kB / 1.371 GB, free: 3.105 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/1.205, allocations: 0.5994 MB / 1.372 GB, free: 3.047 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009528/1.214, allocations: 8.842 MB / 1.38 GB, free: 14.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/1.215, allocations: 1.112 MB / 1.381 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008738/1.216, allocations: 234.4 kB / 1.382 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/1.216, allocations: 415.3 kB / 1.382 GB, free: 13.89 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/1.216, allocations: 0 / 1.382 GB, free: 13.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.989/4.205, allocations: 28.5 MB / 1.41 GB, free: 12.3 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004547/4.206, allocations: 278.3 kB / 1.41 GB, free: 11.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/6.669, allocations: 4.062 kB / 1.41 GB, free: 11.91 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Validation_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Validation_Sensors.fmu > Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches