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.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.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.00154/0.00154, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001805/0.001805, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.581/2.581, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 0.8685 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.634/0.6354, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1895/0.825, allocations: 167.2 MB / 1.18 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0089/0.834, allocations: 7.223 MB / 1.187 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000499/0.8345, allocations: 7.938 kB / 1.187 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.8351, allocations: 135.1 kB / 1.187 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.8384, allocations: 1.187 MB / 1.188 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.8403, allocations: 0.5731 MB / 1.189 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.8418, allocations: 1.053 MB / 1.19 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000598/0.8424, allocations: 254 kB / 1.19 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.844, allocations: 0.5176 MB / 1.191 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.8452, allocations: 434.4 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.936e-05/0.8453, allocations: 20 kB / 1.191 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.8481, allocations: 1.469 MB / 1.192 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.8484, allocations: 115.7 kB / 1.193 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.8487, allocations: 167.2 kB / 1.193 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.8508, allocations: 0.9777 MB / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8508, allocations: 0 / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.976e-06/0.8509, allocations: 0 / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.8509, allocations: 3.938 kB / 1.194 GB, free: 12.8 MB / 0.9512 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.001287/0.8522, allocations: 0.6953 MB / 1.194 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.8522, allocations: 12.03 kB / 1.194 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.8534, allocations: 123.5 kB / 1.194 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.854, allocations: 333.1 kB / 1.195 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.201e-05/0.8541, allocations: 46.27 kB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.8542, allocations: 24 kB / 1.195 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.8549, allocations: 370.2 kB / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.8549, allocations: 7.938 kB / 1.195 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.855, allocations: 8 kB / 1.195 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.855, allocations: 8 kB / 1.195 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.8556, allocations: 274 kB / 1.196 GB, free: 10.81 MB / 0.9512 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.002114/0.8577, allocations: 1.484 MB / 1.197 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.8582, allocations: 202.5 kB / 1.197 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.8584, allocations: 112.8 kB / 1.197 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.8596, allocations: 0.5052 MB / 1.198 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.8596, allocations: 34.56 kB / 1.198 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 2.385e-06/0.8596, allocations: 4 kB / 1.198 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.001072/0.8607, allocations: 363.5 kB / 1.198 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.8608, allocations: 55.41 kB / 1.198 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.8611, allocations: 312.5 kB / 1.198 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.8612, allocations: 33.7 kB / 1.199 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.8614, allocations: 184 kB / 1.199 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.148e-05/0.8615, allocations: 51.27 kB / 1.199 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.8616, allocations: 41.7 kB / 1.199 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.8618, allocations: 342.8 kB / 1.199 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.862, allocations: 83.92 kB / 1.199 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.8623, allocations: 149.9 kB / 1.199 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.8627, allocations: 245.5 kB / 1.2 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8628, allocations: 0 / 1.2 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006617/0.8634, allocations: 285.1 kB / 1.2 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.8635, allocations: 8 kB / 1.2 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.8635, allocations: 0 / 1.2 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.8635, allocations: 4 kB / 1.2 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.8638, allocations: 43.91 kB / 1.2 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.8638, allocations: 4 kB / 1.2 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.8641, allocations: 39.86 kB / 1.2 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/0.8641, allocations: 15.98 kB / 1.2 GB, free: 5.922 MB / 0.9512 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.0001943/0.8643, allocations: 153.7 kB / 1.2 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.8645, allocations: 27.62 kB / 1.2 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007788/0.8652, allocations: 312.3 kB / 1.2 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8653, allocations: 0 / 1.2 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8653, allocations: 0 / 1.2 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.8653, allocations: 0 / 1.2 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.8667, allocations: 0.8159 MB / 1.201 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8667, allocations: 0 / 1.201 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.8669, allocations: 39.91 kB / 1.201 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.867, allocations: 4 kB / 1.201 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.867, allocations: 11.94 kB / 1.201 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.867, allocations: 4.219 kB / 1.201 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.867, allocations: 4 kB / 1.201 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.8677, allocations: 398.5 kB / 1.202 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.8678, allocations: 132.8 kB / 1.202 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.8679, allocations: 11.98 kB / 1.202 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.8682, allocations: 27.81 kB / 1.202 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.8683, allocations: 23.97 kB / 1.202 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.8683, allocations: 8 kB / 1.202 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002686/0.8686, allocations: 231 kB / 1.202 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8686, allocations: 0 / 1.202 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005636/0.8691, allocations: 123.8 kB / 1.202 GB, free: 3.48 MB / 0.9512 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.0006915/0.8698, allocations: 222.9 kB / 1.202 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.8704, allocations: 212.7 kB / 1.203 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8704, allocations: 0 / 1.203 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.8707, allocations: 124.6 kB / 1.203 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009832/0.8717, allocations: 167.4 kB / 1.203 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.8729, allocations: 0.6965 MB / 1.204 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.8734, allocations: 0.7914 MB / 1.204 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000367/0.8738, allocations: 87 kB / 1.204 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.8739, allocations: 35.42 kB / 1.204 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of SimCode: time 9.12e-07/0.8739, allocations: 0 / 1.204 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of Templates: time 0.01417/0.8881, allocations: 6.992 MB / 1.211 GB, free: 10.17 MB / 0.9669 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