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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Sensors") translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 112.8 kB / 16.42 MB, free: 6.441 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.001009/0.001009, allocations: 192 kB / 17.35 MB, free: 5.738 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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.512/2.512, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 55.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6776/0.679, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.2445/0.9235, allocations: 261.9 MB / 1.464 GB, free: 6.746 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02107/0.9446, allocations: 19.14 MB / 1.483 GB, free: 3.547 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.9462, allocations: 47.75 kB / 1.483 GB, free: 3.5 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.9482, allocations: 0.7491 MB / 1.484 GB, free: 2.746 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.9523, allocations: 1.819 MB / 1.485 GB, free: 0.918 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.9558, allocations: 1.467 MB / 1.487 GB, free: 15.45 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003318/0.9591, allocations: 3.081 MB / 1.49 GB, free: 12.36 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.9606, allocations: 1.242 MB / 1.491 GB, free: 11.1 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006566/0.9672, allocations: 3.196 MB / 1.494 GB, free: 7.895 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.9685, allocations: 0.9997 MB / 1.495 GB, free: 6.891 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.9686, allocations: 100 kB / 1.495 GB, free: 6.793 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.9711, allocations: 1.512 MB / 1.497 GB, free: 5.277 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003601/0.9715, allocations: 422.6 kB / 1.497 GB, free: 4.863 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006423/0.9722, allocations: 0.7037 MB / 1.498 GB, free: 4.156 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.9744, allocations: 2.064 MB / 1.5 GB, free: 2.086 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.9744, allocations: 0 / 1.5 GB, free: 2.086 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9744, allocations: 0 / 1.5 GB, free: 2.086 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.9745, allocations: 0 / 1.5 GB, free: 2.086 MB / 1.217 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.002032/0.9765, allocations: 1.577 MB / 1.501 GB, free: 468 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.9765, allocations: 12.03 kB / 1.501 GB, free: 456 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.9779, allocations: 286 kB / 1.502 GB, free: 168 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.9793, allocations: 0.8701 MB / 1.503 GB, free: 15.25 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.9794, allocations: 73.94 kB / 1.503 GB, free: 15.18 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.9795, allocations: 96 kB / 1.503 GB, free: 15.08 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.9809, allocations: 1.003 MB / 1.504 GB, free: 14.02 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.981, allocations: 7.938 kB / 1.504 GB, free: 14.01 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.981, allocations: 39.94 kB / 1.504 GB, free: 13.97 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.9811, allocations: 24 kB / 1.504 GB, free: 13.95 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.9821, allocations: 0.644 MB / 1.504 GB, free: 13.3 MB / 1.232 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.004083/0.9862, allocations: 4.707 MB / 1.509 GB, free: 8.258 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.9866, allocations: 242.9 kB / 1.509 GB, free: 8.012 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.9868, allocations: 133.2 kB / 1.509 GB, free: 7.879 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005543/0.9873, allocations: 307.2 kB / 1.51 GB, free: 7.523 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.9873, allocations: 42.5 kB / 1.51 GB, free: 7.473 MB / 1.232 GB Notification: Performance of pre-optimization done (n=29): time 1.893e-06/0.9874, allocations: 0 / 1.51 GB, free: 7.473 MB / 1.232 GB Notification: Performance of matching and sorting (n=29): time 0.0008731/0.9882, allocations: 486.1 kB / 1.51 GB, free: 6.992 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.9883, allocations: 51.41 kB / 1.51 GB, free: 6.93 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.9895, allocations: 1.099 MB / 1.511 GB, free: 5.82 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.9895, allocations: 29.7 kB / 1.511 GB, free: 5.785 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/0.99, allocations: 0.5935 MB / 1.512 GB, free: 5.188 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.9901, allocations: 106.5 kB / 1.512 GB, free: 5.082 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.9902, allocations: 122 kB / 1.512 GB, free: 4.957 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.9903, allocations: 329.9 kB / 1.512 GB, free: 4.629 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.9906, allocations: 155 kB / 1.513 GB, free: 4.473 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.991, allocations: 425.5 kB / 1.513 GB, free: 3.93 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.9916, allocations: 0.5344 MB / 1.513 GB, free: 3.293 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.9916, allocations: 0 / 1.513 GB, free: 3.293 MB / 1.232 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008817/0.9925, allocations: 0.6214 MB / 1.514 GB, free: 2.664 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.9926, allocations: 8 kB / 1.514 GB, free: 2.656 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.9926, allocations: 8 kB / 1.514 GB, free: 2.648 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.9926, allocations: 16.03 kB / 1.514 GB, free: 2.633 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/0.9934, allocations: 179.8 kB / 1.514 GB, free: 2.457 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.9947, allocations: 2.352 MB / 1.517 GB, free: 12 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.9952, allocations: 91.23 kB / 1.517 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.9953, allocations: 39.98 kB / 1.517 GB, free: 15.88 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004866/0.9958, allocations: 373.1 kB / 1.517 GB, free: 15.52 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004137/0.9962, allocations: 429 kB / 1.517 GB, free: 14.97 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006017/0.9968, allocations: 0.5337 MB / 1.518 GB, free: 14.33 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.379e-06/0.9968, allocations: 4 kB / 1.518 GB, free: 14.33 MB / 1.248 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008832/0.9977, allocations: 0.6112 MB / 1.519 GB, free: 13.71 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.9977, allocations: 10.53 kB / 1.519 GB, free: 13.7 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.9978, allocations: 8 kB / 1.519 GB, free: 13.7 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.9978, allocations: 15.94 kB / 1.519 GB, free: 13.68 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.9982, allocations: 127.8 kB / 1.519 GB, free: 13.55 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.9982, allocations: 15.92 kB / 1.519 GB, free: 13.54 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.9987, allocations: 47.59 kB / 1.519 GB, free: 13.49 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.9988, allocations: 31.98 kB / 1.519 GB, free: 13.46 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (67): * Single equations (assignments): 63 * 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.0001499/0.9989, allocations: 220.1 kB / 1.519 GB, free: 13.24 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.9991, allocations: 114.6 kB / 1.519 GB, free: 13.12 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006835/0.9997, allocations: 409.4 kB / 1.52 GB, free: 12.72 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.9998, allocations: 7.922 kB / 1.52 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.9998, allocations: 0 / 1.52 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/1, allocations: 211.6 kB / 1.52 GB, free: 12.48 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/1, allocations: 8 kB / 1.52 GB, free: 12.48 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/1, allocations: 7.938 kB / 1.52 GB, free: 12.47 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/1.001, allocations: 27.97 kB / 1.52 GB, free: 12.44 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008154/1.001, allocations: 428.1 kB / 1.52 GB, free: 12 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000809/1.002, allocations: 0.6897 MB / 1.521 GB, free: 11.3 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000169/1.002, allocations: 107.9 kB / 1.521 GB, free: 11.19 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008887/1.003, allocations: 0.7493 MB / 1.522 GB, free: 10.44 MB / 1.248 GB Notification: Performance of Backend: time 4.71e-07/1.003, allocations: 0 / 1.522 GB, free: 10.44 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002449/1.006, allocations: 0.9471 MB / 1.523 GB, free: 9.496 MB / 1.248 GB Notification: Performance of SimCode: time 0.004385/1.01, allocations: 2.827 MB / 1.525 GB, free: 6.621 MB / 1.248 GB Notification: Performance of Templates: time 0.03619/1.046, allocations: 24.11 MB / 1.549 GB, free: 14.78 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.makefile (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 & ./Buildings_latest_Buildings.Templates.Components.Validation.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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