Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001974/0.001974, allocations: 109.3 kB / 16.42 MB, free: 6.449 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.002008/0.002008, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.442/2.442, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 64.12 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6723, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.2514/0.9238, allocations: 261.9 MB / 1.423 GB, free: 13.01 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02135/0.9452, allocations: 19.13 MB / 1.442 GB, free: 9.82 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.9465, allocations: 47.75 kB / 1.442 GB, free: 9.773 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.9483, allocations: 0.7569 MB / 1.442 GB, free: 9.012 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004009/0.9523, allocations: 1.896 MB / 1.444 GB, free: 7.109 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.9556, allocations: 1.485 MB / 1.446 GB, free: 5.625 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003188/0.9588, allocations: 3.096 MB / 1.449 GB, free: 2.516 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.9603, allocations: 1.238 MB / 1.45 GB, free: 1.254 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006959/0.9673, allocations: 3.281 MB / 1.453 GB, free: 13.97 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.9685, allocations: 0.9959 MB / 1.454 GB, free: 12.96 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.9687, allocations: 100 kB / 1.454 GB, free: 12.87 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.9718, allocations: 1.52 MB / 1.456 GB, free: 11.34 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004488/0.9723, allocations: 426.6 kB / 1.456 GB, free: 10.93 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008538/0.9731, allocations: 0.6998 MB / 1.457 GB, free: 10.22 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.9757, allocations: 2.049 MB / 1.459 GB, free: 8.168 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9757, allocations: 0 / 1.459 GB, free: 8.168 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9757, allocations: 0 / 1.459 GB, free: 8.168 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.9757, allocations: 4 kB / 1.459 GB, free: 8.164 MB / 1.186 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.002197/0.9779, allocations: 1.561 MB / 1.46 GB, free: 6.547 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.978, allocations: 12.88 kB / 1.46 GB, free: 6.535 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.9794, allocations: 286.1 kB / 1.461 GB, free: 6.254 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.9809, allocations: 0.8701 MB / 1.462 GB, free: 5.34 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.162e-05/0.981, allocations: 70 kB / 1.462 GB, free: 5.273 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.9811, allocations: 92 kB / 1.462 GB, free: 5.184 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.9826, allocations: 1.003 MB / 1.463 GB, free: 4.113 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.9827, allocations: 11.88 kB / 1.463 GB, free: 4.102 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.9827, allocations: 36 kB / 1.463 GB, free: 4.066 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.9828, allocations: 24 kB / 1.463 GB, free: 4.043 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.9838, allocations: 0.6478 MB / 1.463 GB, free: 3.398 MB / 1.186 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.004266/0.9881, allocations: 4.696 MB / 1.468 GB, free: 14.37 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.9885, allocations: 246.9 kB / 1.468 GB, free: 14.12 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.9887, allocations: 136.7 kB / 1.468 GB, free: 13.98 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/0.9893, allocations: 307.2 kB / 1.469 GB, free: 13.62 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.9893, allocations: 34.56 kB / 1.469 GB, free: 13.58 MB / 1.201 GB Notification: Performance of pre-optimization done (n=29): time 1.703e-06/0.9893, allocations: 0 / 1.469 GB, free: 13.58 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.0009031/0.9902, allocations: 484.2 kB / 1.469 GB, free: 13.1 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.9903, allocations: 59.34 kB / 1.469 GB, free: 13.03 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.9915, allocations: 1.086 MB / 1.47 GB, free: 11.93 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.9915, allocations: 33.7 kB / 1.47 GB, free: 11.89 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.992, allocations: 0.5778 MB / 1.471 GB, free: 11.31 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.046e-05/0.9921, allocations: 118.4 kB / 1.471 GB, free: 11.2 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.9922, allocations: 110.2 kB / 1.471 GB, free: 11.08 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.9924, allocations: 334 kB / 1.471 GB, free: 10.75 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.9926, allocations: 147 kB / 1.471 GB, free: 10.61 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.993, allocations: 429.3 kB / 1.472 GB, free: 10.06 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.9937, allocations: 0.5272 MB / 1.472 GB, free: 9.43 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.9937, allocations: 4 kB / 1.472 GB, free: 9.426 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008983/0.9946, allocations: 0.6174 MB / 1.473 GB, free: 8.801 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.9946, allocations: 8 kB / 1.473 GB, free: 8.793 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.9946, allocations: 20.12 kB / 1.473 GB, free: 8.773 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.9947, allocations: 12 kB / 1.473 GB, free: 8.762 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008874/0.9955, allocations: 183.8 kB / 1.473 GB, free: 8.582 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.9968, allocations: 2.352 MB / 1.476 GB, free: 6.137 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.9973, allocations: 91.33 kB / 1.476 GB, free: 6.047 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.9974, allocations: 31.98 kB / 1.476 GB, free: 6.016 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004819/0.9979, allocations: 369.1 kB / 1.476 GB, free: 5.652 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004183/0.9983, allocations: 429.5 kB / 1.476 GB, free: 5.105 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006018/0.9989, allocations: 0.5257 MB / 1.477 GB, free: 4.477 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.699e-06/0.9989, allocations: 4 kB / 1.477 GB, free: 4.473 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008628/0.9998, allocations: 0.6113 MB / 1.478 GB, free: 3.855 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.9998, allocations: 8 kB / 1.478 GB, free: 3.848 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.9998, allocations: 12.09 kB / 1.478 GB, free: 3.836 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.9999, allocations: 8 kB / 1.478 GB, free: 3.828 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/1, allocations: 131.8 kB / 1.478 GB, free: 3.699 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1, allocations: 11.94 kB / 1.478 GB, free: 3.688 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/1.001, allocations: 51.61 kB / 1.478 GB, free: 3.637 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/1.001, allocations: 35.94 kB / 1.478 GB, free: 3.602 MB / 1.201 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.0001545/1.001, allocations: 222.2 kB / 1.478 GB, free: 3.379 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.001, allocations: 114.6 kB / 1.478 GB, free: 3.266 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006888/1.002, allocations: 408.9 kB / 1.478 GB, free: 2.855 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.002, allocations: 0 / 1.478 GB, free: 2.855 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.002, allocations: 0 / 1.478 GB, free: 2.855 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/1.002, allocations: 223.5 kB / 1.479 GB, free: 2.617 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/1.002, allocations: 7.984 kB / 1.479 GB, free: 2.609 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/1.003, allocations: 11.98 kB / 1.479 GB, free: 2.598 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/1.003, allocations: 15.98 kB / 1.479 GB, free: 2.582 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008489/1.004, allocations: 429.4 kB / 1.479 GB, free: 2.145 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007677/1.004, allocations: 0.6859 MB / 1.48 GB, free: 1.441 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001636/1.005, allocations: 115.9 kB / 1.48 GB, free: 1.328 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008744/1.005, allocations: 0.737 MB / 1.481 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of Backend: time 4.11e-07/1.005, allocations: 0 / 1.481 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002497/1.008, allocations: 0.9515 MB / 1.482 GB, free: 15.64 MB / 1.217 GB Notification: Performance of SimCode: time 0.004388/1.012, allocations: 2.769 MB / 1.484 GB, free: 12.83 MB / 1.217 GB Notification: Performance of Templates: time 0.03657/1.049, allocations: 23.67 MB / 1.507 GB, free: 5.426 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Templates.Components.Validation.Sensors.makefile (rm -f Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.sim & ./Buildings_10_Buildings.Templates.Components.Validation.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches