Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001075/0.001076, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001104/0.001104, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 12 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5989/0.5993, allocations: 153.8 MB / 1.022 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2283/0.8276, allocations: 154 MB / 1.173 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007676/0.8353, allocations: 6.635 MB / 1.179 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/0.8357, allocations: 7.938 kB / 1.179 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.8362, allocations: 119.1 kB / 1.179 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.8383, allocations: 0.8319 MB / 1.18 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.8396, allocations: 498.4 kB / 1.181 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009407/0.8405, allocations: 0.8927 MB / 1.182 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.8409, allocations: 217.3 kB / 1.182 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009288/0.8419, allocations: 478 kB / 1.182 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000713/0.8426, allocations: 398.6 kB / 1.183 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.8426, allocations: 16 kB / 1.183 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.844, allocations: 0.6353 MB / 1.183 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.8441, allocations: 99.69 kB / 1.183 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.766e-05/0.8442, allocations: 89.52 kB / 1.183 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006454/0.8449, allocations: 0.5183 MB / 1.184 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.8449, allocations: 0 / 1.184 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8449, allocations: 4 kB / 1.184 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.8449, allocations: 0 / 1.184 GB, free: 10.33 MB / 0.9356 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.0008954/0.8458, allocations: 0.6351 MB / 1.185 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.8458, allocations: 8.031 kB / 1.185 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009642/0.8468, allocations: 123.5 kB / 1.185 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.8472, allocations: 325.3 kB / 1.185 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/0.8473, allocations: 46.27 kB / 1.185 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.8474, allocations: 28 kB / 1.185 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.848, allocations: 378.2 kB / 1.185 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.848, allocations: 3.938 kB / 1.185 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.8481, allocations: 12 kB / 1.185 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.8481, allocations: 8 kB / 1.185 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.8486, allocations: 278 kB / 1.186 GB, free: 8.398 MB / 0.9356 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.001805/0.8504, allocations: 1.504 MB / 1.187 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.8509, allocations: 198.5 kB / 1.187 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.8511, allocations: 124.8 kB / 1.187 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009459/0.8521, allocations: 0.5131 MB / 1.188 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.8521, allocations: 38.52 kB / 1.188 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.734e-06/0.8521, allocations: 0 / 1.188 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0009519/0.8531, allocations: 379 kB / 1.188 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.8531, allocations: 59.34 kB / 1.188 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.8535, allocations: 308.5 kB / 1.189 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.8535, allocations: 37.64 kB / 1.189 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.8536, allocations: 184 kB / 1.189 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.8537, allocations: 51.3 kB / 1.189 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.8537, allocations: 0 / 1.189 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8539, allocations: 338.8 kB / 1.189 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.8541, allocations: 95.92 kB / 1.189 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.8543, allocations: 149.9 kB / 1.19 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.8545, allocations: 103.9 kB / 1.19 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8546, allocations: 0 / 1.19 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006018/0.8552, allocations: 308.9 kB / 1.19 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.8552, allocations: 4 kB / 1.19 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.8552, allocations: 4 kB / 1.19 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.8552, allocations: 0 / 1.19 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.8555, allocations: 47.91 kB / 1.19 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8555, allocations: 4.188 kB / 1.19 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.8557, allocations: 43.67 kB / 1.19 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.8558, allocations: 8 kB / 1.19 GB, free: 3.629 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.8559, allocations: 149.8 kB / 1.19 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.856, allocations: 35.56 kB / 1.19 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007217/0.8568, allocations: 320.2 kB / 1.19 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.8568, allocations: 0 / 1.19 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8568, allocations: 0 / 1.19 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8568, allocations: 4 kB / 1.19 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.8581, allocations: 0.816 MB / 1.191 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.8581, allocations: 4.094 kB / 1.191 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.8583, allocations: 39.92 kB / 1.191 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.8583, allocations: 4 kB / 1.191 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.8584, allocations: 11.98 kB / 1.191 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.8584, allocations: 4.156 kB / 1.191 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8584, allocations: 8 kB / 1.191 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.859, allocations: 407.3 kB / 1.192 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.8591, allocations: 132.6 kB / 1.192 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.8592, allocations: 11.98 kB / 1.192 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.8595, allocations: 27.98 kB / 1.192 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.8595, allocations: 19.88 kB / 1.192 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.8595, allocations: 15.98 kB / 1.192 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002088/0.8598, allocations: 219.1 kB / 1.192 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8598, allocations: 4 kB / 1.192 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004872/0.8603, allocations: 119.8 kB / 1.192 GB, free: 1.164 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004573/0.8607, allocations: 216.3 kB / 1.192 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.8612, allocations: 224 kB / 1.193 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8613, allocations: 0 / 1.193 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.8615, allocations: 123.7 kB / 1.193 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008759/0.8624, allocations: 159.9 kB / 1.193 GB, free: 472 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.8635, allocations: 0.6978 MB / 1.194 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.8638, allocations: 0.7915 MB / 1.194 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003094/0.8641, allocations: 90.97 kB / 1.195 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.8642, allocations: 27.44 kB / 1.195 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.8642, allocations: 4 kB / 1.195 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.01188/0.8761, allocations: 6.764 MB / 1.201 GB, free: 8.086 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches