Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001308/0.001308, allocations: 190.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 86.5 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.496e-05/4.498e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.235, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.087/6.322, allocations: 2.18 GB / 3.071 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/6.322, allocations: 88.7 kB / 3.072 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9292/7.251, allocations: 215.7 MB / 3.282 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.863e-06/7.251, allocations: 0 / 3.282 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.08e-05/7.251, allocations: 9.906 kB / 3.282 GB, free: 247.8 MB / 0.8698 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.00151/7.253, allocations: 0.6102 MB / 3.283 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/7.253, allocations: 8.719 kB / 3.283 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007539/7.254, allocations: 75.72 kB / 3.283 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/7.254, allocations: 287.9 kB / 3.283 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/7.254, allocations: 22.61 kB / 3.283 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/7.254, allocations: 23.91 kB / 3.283 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/7.255, allocations: 253.2 kB / 3.283 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/7.255, allocations: 3.906 kB / 3.283 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/7.255, allocations: 10.38 kB / 3.283 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/7.255, allocations: 8.062 kB / 3.283 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/7.255, allocations: 169.3 kB / 3.284 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/7.257, allocations: 1.223 MB / 3.285 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/7.257, allocations: 162 kB / 3.285 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/7.257, allocations: 93.72 kB / 3.285 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006128/7.258, allocations: 328.1 kB / 3.285 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/7.258, allocations: 44.75 kB / 3.285 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/7.258, allocations: 0 / 3.285 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0004857/7.258, allocations: 173.4 kB / 3.286 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/7.258, allocations: 168.1 kB / 3.286 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/7.258, allocations: 245.4 kB / 3.286 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/7.258, allocations: 27.3 kB / 3.286 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/7.259, allocations: 150.1 kB / 3.286 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/7.259, allocations: 43.09 kB / 3.286 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/7.259, allocations: 8.719 kB / 3.286 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/7.259, allocations: 340.2 kB / 3.286 GB, free: 245 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.191e-05/7.259, allocations: 50.59 kB / 3.287 GB, free: 245 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/7.259, allocations: 131.1 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/7.259, allocations: 64.36 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/7.259, allocations: 4.5 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003777/7.26, allocations: 218.3 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/7.26, allocations: 7.031 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/7.26, allocations: 2.688 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/7.26, allocations: 2.562 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/7.26, allocations: 41.17 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/7.26, allocations: 6.719 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/7.26, allocations: 40.98 kB / 3.287 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/7.26, allocations: 13.16 kB / 3.287 GB, free: 244.9 MB / 0.8698 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 () * 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 9.518e-05/7.26, allocations: 118.6 kB / 3.287 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/7.26, allocations: 28.14 kB / 3.287 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/7.261, allocations: 159.1 kB / 3.287 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/7.261, allocations: 2.531 kB / 3.287 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/7.261, allocations: 1.344 kB / 3.287 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/7.261, allocations: 1.344 kB / 3.287 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007366/7.261, allocations: 0.819 MB / 3.288 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/7.262, allocations: 4.438 kB / 3.288 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/7.262, allocations: 28.36 kB / 3.288 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/7.262, allocations: 1.406 kB / 3.288 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/7.262, allocations: 2.469 kB / 3.288 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/7.262, allocations: 6.172 kB / 3.288 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/7.262, allocations: 2.5 kB / 3.288 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/7.262, allocations: 349.9 kB / 3.289 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/7.262, allocations: 122.6 kB / 3.289 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/7.262, allocations: 6.766 kB / 3.289 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/7.262, allocations: 16.31 kB / 3.289 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/7.262, allocations: 7.953 kB / 3.289 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/7.262, allocations: 3.625 kB / 3.289 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002363/7.263, allocations: 229.4 kB / 3.289 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.543e-06/7.263, allocations: 0 / 3.289 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008734/7.264, allocations: 190.9 kB / 3.289 GB, free: 243.6 MB / 0.8698 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 () * 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.001693/7.265, allocations: 1.031 MB / 3.29 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002794/7.266, allocations: 120.8 kB / 3.29 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/7.266, allocations: 0 / 3.29 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/7.266, allocations: 45.58 kB / 3.29 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007015/7.266, allocations: 129 kB / 3.29 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006973/7.267, allocations: 363.9 kB / 3.291 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/7.267, allocations: 0.7606 MB / 3.291 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002051/7.268, allocations: 54.02 kB / 3.292 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/7.268, allocations: 25.59 kB / 3.292 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of SimCode: time 4.21e-07/7.268, allocations: 0 / 3.292 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.0288/7.296, allocations: 19.89 MB / 3.311 GB, free: 241.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches