Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 116.9 kB / 16.37 MB, free: 6.016 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.00186/0.001861, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 62.12 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2905, allocations: 140.4 MB / 0.9511 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.649/0.9396, allocations: 169.4 MB / 1.117 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007587/0.9472, allocations: 7.125 MB / 1.124 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.9478, allocations: 12.81 kB / 1.124 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.9483, allocations: 172.5 kB / 1.124 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00311/0.9515, allocations: 1.26 MB / 1.125 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.9531, allocations: 0.6284 MB / 1.126 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009023/0.9541, allocations: 0.7601 MB / 1.126 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.9545, allocations: 294.8 kB / 1.127 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.9556, allocations: 0.5672 MB / 1.127 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007379/0.9564, allocations: 432.3 kB / 1.128 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.9564, allocations: 25.03 kB / 1.128 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.9586, allocations: 1.249 MB / 1.129 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.9587, allocations: 112.9 kB / 1.129 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.9589, allocations: 178.9 kB / 1.129 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.9603, allocations: 0.9002 MB / 1.13 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9603, allocations: 5.031 kB / 1.13 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9603, allocations: 1.219 kB / 1.13 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.9603, allocations: 0 / 1.13 GB, free: 4.941 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001062/0.9614, allocations: 0.6909 MB / 1.131 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.9614, allocations: 9.344 kB / 1.131 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.9624, allocations: 128.7 kB / 1.131 GB, free: 20.42 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.9629, allocations: 348.4 kB / 1.131 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/0.963, allocations: 48.2 kB / 1.131 GB, free: 20.15 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.9631, allocations: 28.53 kB / 1.131 GB, free: 20.15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007336/0.9638, allocations: 370.2 kB / 1.132 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.9638, allocations: 0.5 kB / 1.132 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.9639, allocations: 9.562 kB / 1.132 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.9639, allocations: 6.594 kB / 1.132 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005217/0.9644, allocations: 271.5 kB / 1.132 GB, free: 20.07 MB / 0.8731 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.001774/0.9662, allocations: 1.493 MB / 1.133 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.9666, allocations: 192.8 kB / 1.133 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.9668, allocations: 117.9 kB / 1.134 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000999/0.9678, allocations: 0.5017 MB / 1.134 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.9679, allocations: 40.03 kB / 1.134 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.9679, allocations: 0 / 1.134 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0009281/0.9688, allocations: 359.6 kB / 1.134 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.9688, allocations: 54.19 kB / 1.134 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.9692, allocations: 314.2 kB / 1.135 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.9693, allocations: 33.95 kB / 1.135 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.9694, allocations: 191.3 kB / 1.135 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.9694, allocations: 44.94 kB / 1.135 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.9696, allocations: 50.09 kB / 1.135 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.9697, allocations: 338 kB / 1.135 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.97, allocations: 83.17 kB / 1.135 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.9702, allocations: 150.1 kB / 1.136 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.9707, allocations: 236.1 kB / 1.136 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.9707, allocations: 5.25 kB / 1.136 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006132/0.9713, allocations: 282 kB / 1.136 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.9713, allocations: 5.562 kB / 1.136 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.9713, allocations: 5.406 kB / 1.136 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.9714, allocations: 6.297 kB / 1.136 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.9716, allocations: 47.72 kB / 1.136 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9716, allocations: 2.781 kB / 1.136 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.9719, allocations: 32.88 kB / 1.136 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.9719, allocations: 10.09 kB / 1.136 GB, free: 17.63 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.9721, allocations: 154.4 kB / 1.136 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.9722, allocations: 33.84 kB / 1.136 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007327/0.973, allocations: 310.7 kB / 1.137 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.973, allocations: 1.125 kB / 1.137 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.973, allocations: 1.094 kB / 1.137 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.973, allocations: 0 / 1.137 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.9743, allocations: 0.814 MB / 1.138 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.9743, allocations: 2.5 kB / 1.138 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.9745, allocations: 38.91 kB / 1.138 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.9745, allocations: 3.312 kB / 1.138 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.9745, allocations: 12.88 kB / 1.138 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.9745, allocations: 3.375 kB / 1.138 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.9745, allocations: 2 kB / 1.138 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.9751, allocations: 401.6 kB / 1.138 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.9753, allocations: 134.3 kB / 1.138 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.9753, allocations: 11.69 kB / 1.138 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.9756, allocations: 13.94 kB / 1.138 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.9757, allocations: 19.89 kB / 1.138 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.9757, allocations: 7.75 kB / 1.138 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000221/0.9759, allocations: 229.2 kB / 1.138 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9759, allocations: 0 / 1.138 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005777/0.9765, allocations: 124.4 kB / 1.138 GB, free: 16.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005486/0.9771, allocations: 226.4 kB / 1.139 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.9776, allocations: 222.5 kB / 1.139 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9776, allocations: 0 / 1.139 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.9778, allocations: 118.5 kB / 1.139 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008324/0.9786, allocations: 173 kB / 1.139 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.9797, allocations: 0.5985 MB / 1.14 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.9801, allocations: 0.7868 MB / 1.141 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002552/0.9804, allocations: 91.66 kB / 1.141 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.236e-05/0.9805, allocations: 26.31 kB / 1.141 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of SimCode: time 4.51e-07/0.9805, allocations: 1.312 kB / 1.141 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of Templates: time 0.01242/0.9929, allocations: 7.269 MB / 1.148 GB, free: 14.95 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches