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.001103/0.001103, allocations: 99.03 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 182 kB / 16.92 MB, free: 6.918 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.461/1.461, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.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.432/2.432, allocations: 390.9 MB / 0.667 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.7407, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1993/0.9401, allocations: 165 MB / 1.117 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008924/0.9491, allocations: 7.112 MB / 1.124 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005809/0.9497, allocations: 7.938 kB / 1.124 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.9503, allocations: 139.1 kB / 1.124 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.9534, allocations: 1.183 MB / 1.125 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.955, allocations: 0.5803 MB / 1.126 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.9562, allocations: 1.053 MB / 1.127 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.9566, allocations: 251.4 kB / 1.127 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.9578, allocations: 0.5176 MB / 1.127 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008146/0.9586, allocations: 414.5 kB / 1.128 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.9586, allocations: 16 kB / 1.128 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.9611, allocations: 1.469 MB / 1.129 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.9612, allocations: 107.7 kB / 1.129 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.9614, allocations: 188.8 kB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009285/0.9624, allocations: 0.6236 MB / 1.13 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.9624, allocations: 0 / 1.13 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9624, allocations: 4 kB / 1.13 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.9624, allocations: 4 kB / 1.13 GB, free: 12.09 MB / 0.8887 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.0009274/0.9633, allocations: 0.6234 MB / 1.131 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.9634, allocations: 11.97 kB / 1.131 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.9644, allocations: 131.3 kB / 1.131 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.9649, allocations: 325.2 kB / 1.131 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.847e-05/0.9649, allocations: 50.27 kB / 1.131 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.965, allocations: 24 kB / 1.131 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.9657, allocations: 378.1 kB / 1.132 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.9657, allocations: 4 kB / 1.132 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.9657, allocations: 12 kB / 1.132 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.9658, allocations: 8 kB / 1.132 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/0.9663, allocations: 286 kB / 1.132 GB, free: 10.15 MB / 0.8887 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.001871/0.9682, allocations: 1.504 MB / 1.133 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.9686, allocations: 198.5 kB / 1.134 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.9688, allocations: 124.8 kB / 1.134 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009909/0.9698, allocations: 0.517 MB / 1.134 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.9699, allocations: 46.48 kB / 1.134 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.9699, allocations: 0 / 1.134 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.001003/0.9709, allocations: 375.3 kB / 1.135 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.9709, allocations: 55.34 kB / 1.135 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.9713, allocations: 316.5 kB / 1.135 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.9713, allocations: 33.7 kB / 1.135 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.9715, allocations: 184 kB / 1.135 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.9715, allocations: 47.36 kB / 1.135 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.9716, allocations: 21.7 kB / 1.135 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9717, allocations: 342.8 kB / 1.136 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.9719, allocations: 91.92 kB / 1.136 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.9722, allocations: 155.1 kB / 1.136 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.9726, allocations: 247.6 kB / 1.136 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9726, allocations: 4 kB / 1.136 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000589/0.9732, allocations: 293 kB / 1.136 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.9732, allocations: 8.188 kB / 1.136 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.9732, allocations: 4 kB / 1.136 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.9733, allocations: 4 kB / 1.136 GB, free: 5.297 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.9735, allocations: 35.98 kB / 1.136 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.9735, allocations: 7.984 kB / 1.136 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.9738, allocations: 43.61 kB / 1.136 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.9738, allocations: 12 kB / 1.136 GB, free: 5.199 MB / 0.8887 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.0001624/0.974, allocations: 153.8 kB / 1.137 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.9741, allocations: 23.72 kB / 1.137 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.9748, allocations: 336 kB / 1.137 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.9749, allocations: 7.984 kB / 1.137 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.9749, allocations: 0 / 1.137 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.9749, allocations: 0 / 1.137 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.9762, allocations: 0.8122 MB / 1.138 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9762, allocations: 4 kB / 1.138 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.9764, allocations: 40.2 kB / 1.138 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.9764, allocations: 3.938 kB / 1.138 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.9765, allocations: 4 kB / 1.138 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.9765, allocations: 11.92 kB / 1.138 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.9765, allocations: 7.938 kB / 1.138 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.9771, allocations: 413 kB / 1.138 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.9772, allocations: 136.6 kB / 1.138 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.9773, allocations: 7.938 kB / 1.138 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.9776, allocations: 27.97 kB / 1.138 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.9776, allocations: 15.98 kB / 1.138 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.9777, allocations: 12 kB / 1.138 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002159/0.9779, allocations: 227 kB / 1.139 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9779, allocations: 0 / 1.139 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005422/0.9784, allocations: 123.8 kB / 1.139 GB, free: 2.711 MB / 0.8887 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.0005571/0.979, allocations: 234.1 kB / 1.139 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005162/0.9795, allocations: 230.5 kB / 1.139 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.9795, allocations: 4 kB / 1.139 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.9798, allocations: 120.5 kB / 1.139 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.9808, allocations: 152.9 kB / 1.139 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.9818, allocations: 0.7598 MB / 1.14 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.9822, allocations: 0.7836 MB / 1.141 GB, free: 372 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.9823, allocations: 31.44 kB / 1.141 GB, free: 340 kB / 0.8887 GB Notification: Performance of SimCode: time 7.01e-07/0.9823, allocations: 0 / 1.141 GB, free: 340 kB / 0.8887 GB Notification: Performance of Templates: time 0.009374/0.9917, allocations: 6.198 MB / 1.147 GB, free: 10.18 MB / 0.9044 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 -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