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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.372/2.372, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 171.7 kB / 0.4902 GB, free: 2.254 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.819/1.819, allocations: 223.1 MB / 0.7992 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001347, allocations: 100.1 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.0005041, allocations: 11.03 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4519, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.644/6.096, allocations: 1.868 GB / 3.097 GB, free: 95.09 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/6.097, allocations: 87.95 kB / 3.097 GB, free: 95 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.239/7.336, allocations: 224.9 MB / 3.317 GB, free: 339.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.014e-06/7.336, allocations: 4 kB / 3.317 GB, free: 339.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.266e-05/7.336, allocations: 7.984 kB / 3.317 GB, free: 339.2 MB / 1.167 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.001204/7.338, allocations: 0.6395 MB / 3.317 GB, free: 338.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/7.338, allocations: 12.03 kB / 3.317 GB, free: 338.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000644/7.338, allocations: 76.75 kB / 3.317 GB, free: 338.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/7.339, allocations: 288.7 kB / 3.318 GB, free: 338.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/7.339, allocations: 16 kB / 3.318 GB, free: 338 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/7.339, allocations: 20 kB / 3.318 GB, free: 338 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/7.339, allocations: 288.8 kB / 3.318 GB, free: 337.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/7.339, allocations: 3.984 kB / 3.318 GB, free: 337.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/7.339, allocations: 16 kB / 3.318 GB, free: 337.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/7.339, allocations: 4 kB / 3.318 GB, free: 337.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/7.34, allocations: 207.8 kB / 3.318 GB, free: 337.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/7.341, allocations: 1.226 MB / 3.319 GB, free: 336.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/7.341, allocations: 173 kB / 3.32 GB, free: 336 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005946/7.342, allocations: 331.2 kB / 3.32 GB, free: 335.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/7.342, allocations: 42.55 kB / 3.32 GB, free: 335.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/7.342, allocations: 0 / 3.32 GB, free: 335.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0006796/7.342, allocations: 281.8 kB / 3.32 GB, free: 335.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/7.342, allocations: 158.2 kB / 3.32 GB, free: 335.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/7.343, allocations: 262.1 kB / 3.321 GB, free: 334.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/7.343, allocations: 25.7 kB / 3.321 GB, free: 334.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/7.343, allocations: 148.2 kB / 3.321 GB, free: 334.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/7.343, allocations: 51.34 kB / 3.321 GB, free: 334.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/7.343, allocations: 0 / 3.321 GB, free: 334.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.87e-05/7.343, allocations: 342.8 kB / 3.321 GB, free: 334.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/7.343, allocations: 71.89 kB / 3.321 GB, free: 334.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/7.343, allocations: 159.4 kB / 3.321 GB, free: 334 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/7.343, allocations: 83.89 kB / 3.321 GB, free: 333.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/7.343, allocations: 4 kB / 3.321 GB, free: 333.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004294/7.344, allocations: 245.2 kB / 3.322 GB, free: 333.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/7.344, allocations: 4 kB / 3.322 GB, free: 333.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/7.344, allocations: 4 kB / 3.322 GB, free: 333.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/7.344, allocations: 4 kB / 3.322 GB, free: 333.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/7.344, allocations: 43.97 kB / 3.322 GB, free: 333.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/7.344, allocations: 3.938 kB / 3.322 GB, free: 333.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/7.344, allocations: 35.89 kB / 3.322 GB, free: 333.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/7.344, allocations: 19.98 kB / 3.322 GB, free: 333.5 MB / 1.167 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.0001143/7.345, allocations: 149.8 kB / 3.322 GB, free: 333.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/7.345, allocations: 23.72 kB / 3.322 GB, free: 333.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/7.345, allocations: 194.1 kB / 3.322 GB, free: 333.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/7.345, allocations: 4 kB / 3.322 GB, free: 333.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/7.345, allocations: 0 / 3.322 GB, free: 333.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/7.345, allocations: 7.984 kB / 3.322 GB, free: 333.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007796/7.346, allocations: 0.851 MB / 3.323 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/7.346, allocations: 0 / 3.323 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/7.346, allocations: 32.14 kB / 3.323 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/7.346, allocations: 4 kB / 3.323 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/7.346, allocations: 192 / 3.323 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/7.346, allocations: 11.95 kB / 3.323 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/7.346, allocations: 3.938 kB / 3.323 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/7.347, allocations: 411.8 kB / 3.323 GB, free: 331.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.57e-05/7.347, allocations: 116.8 kB / 3.323 GB, free: 331.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/7.347, allocations: 4 kB / 3.323 GB, free: 331.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/7.347, allocations: 11.98 kB / 3.323 GB, free: 331.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/7.347, allocations: 16.02 kB / 3.323 GB, free: 331.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/7.347, allocations: 7.984 kB / 3.324 GB, free: 331.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001757/7.347, allocations: 233.9 kB / 3.324 GB, free: 331.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/7.347, allocations: 0 / 3.324 GB, free: 331.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008063/7.348, allocations: 183.9 kB / 3.324 GB, free: 331.1 MB / 1.167 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 (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.001342/7.349, allocations: 1.036 MB / 3.325 GB, free: 330.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003644/7.35, allocations: 151.8 kB / 3.325 GB, free: 329.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/7.35, allocations: 0 / 3.325 GB, free: 329.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/7.35, allocations: 68.72 kB / 3.325 GB, free: 329.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/7.351, allocations: 118 kB / 3.325 GB, free: 329.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/7.351, allocations: 0.5607 MB / 3.326 GB, free: 329.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/7.351, allocations: 0.7638 MB / 3.327 GB, free: 328.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001866/7.352, allocations: 70.98 kB / 3.327 GB, free: 328.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/7.352, allocations: 23.44 kB / 3.327 GB, free: 328.3 MB / 1.167 GB Notification: Performance of SimCode: time 6.21e-07/7.352, allocations: 0 / 3.327 GB, free: 328.3 MB / 1.167 GB Notification: Performance of Templates: time 0.02021/7.372, allocations: 17.24 MB / 3.343 GB, free: 311.1 MB / 1.167 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