Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007969/0.007968, allocations: 97.97 kB / 15.88 MB, free: 6.316 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.001493/0.001493, allocations: 195.2 kB / 16.79 MB, free: 6.242 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.398/1.398, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.506/2.506, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6611/0.6625, allocations: 140.4 MB / 0.9496 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.175/0.8376, allocations: 161 MB / 1.107 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005805/0.8434, allocations: 4.621 MB / 1.111 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.8439, allocations: 15.94 kB / 1.111 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.8444, allocations: 99.33 kB / 1.111 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.8459, allocations: 0.5097 MB / 1.112 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.8477, allocations: 0.7079 MB / 1.113 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008689/0.8486, allocations: 0.8108 MB / 1.113 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.849, allocations: 177.5 kB / 1.114 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.85, allocations: 430.4 kB / 1.114 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006425/0.8507, allocations: 290.9 kB / 1.114 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.8507, allocations: 12 kB / 1.114 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.8526, allocations: 1.169 MB / 1.115 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.8528, allocations: 83.78 kB / 1.115 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.853, allocations: 115.3 kB / 1.116 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008488/0.8538, allocations: 0.5029 MB / 1.116 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.8538, allocations: 0 / 1.116 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.31e-07/0.8538, allocations: 0 / 1.116 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.8539, allocations: 0 / 1.116 GB, free: 7.035 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001034/0.8549, allocations: 0.5957 MB / 1.117 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.8549, allocations: 8.031 kB / 1.117 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007234/0.8557, allocations: 79.58 kB / 1.117 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.8561, allocations: 291.2 kB / 1.117 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.8561, allocations: 16 kB / 1.117 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.8562, allocations: 16 kB / 1.117 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.8567, allocations: 283.4 kB / 1.117 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.8567, allocations: 0 / 1.117 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.8567, allocations: 12 kB / 1.117 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.8568, allocations: 7.938 kB / 1.117 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.8572, allocations: 199.8 kB / 1.118 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.8588, allocations: 1.253 MB / 1.119 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.8591, allocations: 177 kB / 1.119 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.8593, allocations: 108.4 kB / 1.119 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007936/0.8601, allocations: 343.2 kB / 1.119 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.8601, allocations: 34.56 kB / 1.119 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.8601, allocations: 0 / 1.119 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007841/0.8609, allocations: 277.1 kB / 1.12 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.861, allocations: 162.7 kB / 1.12 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.8613, allocations: 290.9 kB / 1.12 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.8614, allocations: 29.7 kB / 1.12 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.8615, allocations: 151.8 kB / 1.12 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.8615, allocations: 43.3 kB / 1.12 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.8616, allocations: 41.7 kB / 1.12 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8617, allocations: 338.8 kB / 1.121 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.8619, allocations: 67.95 kB / 1.121 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.8621, allocations: 140.5 kB / 1.121 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.8626, allocations: 211.5 kB / 1.121 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8626, allocations: 4 kB / 1.121 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005449/0.8631, allocations: 245.1 kB / 1.121 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.8632, allocations: 6.031 kB / 1.121 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.8632, allocations: 4 kB / 1.121 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.8632, allocations: 7.984 kB / 1.121 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.8635, allocations: 40.17 kB / 1.121 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.8635, allocations: 4 kB / 1.121 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.8637, allocations: 31.73 kB / 1.121 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.8638, allocations: 11.94 kB / 1.121 GB, free: 1.113 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.000157/0.864, allocations: 153.7 kB / 1.122 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.8641, allocations: 23.72 kB / 1.122 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005029/0.8646, allocations: 206 kB / 1.122 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.8647, allocations: 0 / 1.122 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8647, allocations: 8 kB / 1.122 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8647, allocations: 0 / 1.122 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.8658, allocations: 0.8472 MB / 1.123 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.8658, allocations: 7.938 kB / 1.123 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.8659, allocations: 23.97 kB / 1.123 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.8659, allocations: 11.92 kB / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.8659, allocations: 0 / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.866, allocations: 4 kB / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.866, allocations: 0 / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/0.8666, allocations: 343.4 kB / 1.123 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.8667, allocations: 112.7 kB / 1.123 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.8668, allocations: 4 kB / 1.123 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.8669, allocations: 16.05 kB / 1.123 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.867, allocations: 15.92 kB / 1.123 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.867, allocations: 4 kB / 1.123 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002511/0.8673, allocations: 237.9 kB / 1.123 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8673, allocations: 0 / 1.123 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005224/0.8678, allocations: 99.83 kB / 1.123 GB, free: 14.87 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.00064/0.8684, allocations: 195.3 kB / 1.124 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.8689, allocations: 160.2 kB / 1.124 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.8689, allocations: 0 / 1.124 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.869, allocations: 63.97 kB / 1.124 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008006/0.8698, allocations: 132 kB / 1.124 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.8708, allocations: 0.5929 MB / 1.125 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.8711, allocations: 0.756 MB / 1.125 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.8712, allocations: 31.42 kB / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of SimCode: time 5.31e-07/0.8712, allocations: 0 / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of Templates: time 0.008717/0.88, allocations: 5.234 MB / 1.13 GB, free: 7.684 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches