Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001156/0.001156, allocations: 102.9 kB / 15.06 MB, free: 1.098 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.00135/0.00135, allocations: 173.3 kB / 15.95 MB, free: 212 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.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.595/2.595, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004498, allocations: 15.98 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6496, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1507/0.8003, allocations: 137 MB / 1.155 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004468/0.8048, allocations: 3.575 MB / 1.158 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.8051, allocations: 11.94 kB / 1.158 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.8057, allocations: 155.2 kB / 1.158 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009906/0.8067, allocations: 358.9 kB / 1.159 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.8083, allocations: 0.579 MB / 1.159 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.8087, allocations: 339.8 kB / 1.159 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.8091, allocations: 169.3 kB / 1.16 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006941/0.8098, allocations: 323.1 kB / 1.16 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.8102, allocations: 235.2 kB / 1.16 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.8103, allocations: 15.94 kB / 1.16 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008627/0.8112, allocations: 427.3 kB / 1.161 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.8112, allocations: 79.78 kB / 1.161 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.8113, allocations: 69.58 kB / 1.161 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.8118, allocations: 355.2 kB / 1.161 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.8118, allocations: 0 / 1.161 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8118, allocations: 0 / 1.161 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8118, allocations: 0 / 1.161 GB, free: 1.129 MB / 0.9044 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.000789/0.8126, allocations: 0.5296 MB / 1.162 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.8126, allocations: 15.98 kB / 1.162 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006724/0.8133, allocations: 83.58 kB / 1.162 GB, free: 464 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.8137, allocations: 271.5 kB / 1.162 GB, free: 152 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.8138, allocations: 16 kB / 1.162 GB, free: 136 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.8138, allocations: 20 kB / 1.162 GB, free: 116 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.8143, allocations: 295.3 kB / 1.162 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.8143, allocations: 0 / 1.162 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.8144, allocations: 8 kB / 1.162 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.8144, allocations: 4 kB / 1.162 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.8148, allocations: 219.5 kB / 1.162 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.8163, allocations: 1.265 MB / 1.164 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.8166, allocations: 185 kB / 1.164 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003852/0.817, allocations: 145.2 kB / 1.164 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.817, allocations: 38.56 kB / 1.164 GB, free: 13.79 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.817, allocations: 0 / 1.164 GB, free: 13.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0007869/0.8178, allocations: 325.5 kB / 1.164 GB, free: 13.47 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.8179, allocations: 166.2 kB / 1.165 GB, free: 13.27 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.8182, allocations: 283 kB / 1.165 GB, free: 12.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.8182, allocations: 33.7 kB / 1.165 GB, free: 12.95 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.866e-05/0.8183, allocations: 147.8 kB / 1.165 GB, free: 12.8 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.8183, allocations: 47.34 kB / 1.165 GB, free: 12.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.8184, allocations: 8 kB / 1.165 GB, free: 12.74 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8185, allocations: 334.8 kB / 1.165 GB, free: 12.41 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.8187, allocations: 79.94 kB / 1.165 GB, free: 12.33 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.8189, allocations: 166.5 kB / 1.166 GB, free: 12.14 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.8191, allocations: 99.94 kB / 1.166 GB, free: 12.04 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8191, allocations: 0 / 1.166 GB, free: 12.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005206/0.8196, allocations: 273.2 kB / 1.166 GB, free: 11.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.8197, allocations: 8 kB / 1.166 GB, free: 11.76 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8197, allocations: 0 / 1.166 GB, free: 11.76 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.8197, allocations: 4 kB / 1.166 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.8199, allocations: 43.91 kB / 1.166 GB, free: 11.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.8199, allocations: 4 kB / 1.166 GB, free: 11.71 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.8201, allocations: 39.8 kB / 1.166 GB, free: 11.67 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.8202, allocations: 11.95 kB / 1.166 GB, free: 11.66 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.8203, allocations: 154.1 kB / 1.166 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.8205, allocations: 23.72 kB / 1.166 GB, free: 11.47 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.821, allocations: 228 kB / 1.166 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.821, allocations: 8 kB / 1.166 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.821, allocations: 0 / 1.166 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8211, allocations: 4 kB / 1.166 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.8221, allocations: 0.933 MB / 1.167 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.8222, allocations: 0 / 1.167 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.8223, allocations: 31.98 kB / 1.167 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8223, allocations: 0 / 1.167 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.8224, allocations: 4 kB / 1.167 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.8224, allocations: 8.109 kB / 1.167 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8224, allocations: 8 kB / 1.167 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/0.8231, allocations: 491.8 kB / 1.168 GB, free: 9.625 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-05/0.8232, allocations: 112.8 kB / 1.168 GB, free: 9.496 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.8232, allocations: 4 kB / 1.168 GB, free: 9.492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.8234, allocations: 15.98 kB / 1.168 GB, free: 9.477 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.8235, allocations: 19.88 kB / 1.168 GB, free: 9.457 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.8235, allocations: 4 kB / 1.168 GB, free: 9.453 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002021/0.8237, allocations: 226 kB / 1.168 GB, free: 9.238 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8237, allocations: 0 / 1.168 GB, free: 9.238 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004673/0.8242, allocations: 91.94 kB / 1.168 GB, free: 9.148 MB / 0.92 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 (12): * Single equations (assignments): 12 * 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.0004766/0.8247, allocations: 203.3 kB / 1.168 GB, free: 8.949 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.8251, allocations: 191.7 kB / 1.169 GB, free: 8.762 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8251, allocations: 0 / 1.169 GB, free: 8.762 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.8253, allocations: 100.6 kB / 1.169 GB, free: 8.664 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.826, allocations: 127.3 kB / 1.169 GB, free: 8.543 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008585/0.8269, allocations: 0.5865 MB / 1.169 GB, free: 7.91 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.8272, allocations: 0.7638 MB / 1.17 GB, free: 7.121 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.8274, allocations: 62.92 kB / 1.17 GB, free: 7.062 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.8275, allocations: 27.44 kB / 1.17 GB, free: 7.035 MB / 0.92 GB Notification: Performance of SimCode: time 3.2e-07/0.8275, allocations: 0 / 1.17 GB, free: 7.035 MB / 0.92 GB Notification: Performance of Templates: time 0.0096/0.8371, allocations: 5.476 MB / 1.176 GB, free: 1.621 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches