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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.967/1.967, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001162/0.001162, allocations: 184 kB / 490.8 MB, free: 1.938 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.361/1.361, allocations: 221.4 MB / 0.7863 GB, free: 13.69 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.0009797/0.0009798, allocations: 90.86 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.565e-06/7.595e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2763, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.699/3.976, allocations: 1.867 GB / 3.078 GB, free: 2.836 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/3.976, allocations: 83.89 kB / 3.079 GB, free: 2.754 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.053/5.029, allocations: 224 MB / 3.297 GB, free: 243.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.18e-05/5.029, allocations: 11.98 kB / 3.297 GB, free: 243.7 MB / 1.151 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.001318/5.03, allocations: 0.611 MB / 3.298 GB, free: 243 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/5.03, allocations: 8.031 kB / 3.298 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007452/5.031, allocations: 87.5 kB / 3.298 GB, free: 242.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/5.032, allocations: 296 kB / 3.298 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/5.032, allocations: 15.98 kB / 3.298 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/5.032, allocations: 12 kB / 3.298 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002809/5.032, allocations: 149.4 kB / 3.299 GB, free: 242.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/5.032, allocations: 235.5 kB / 3.299 GB, free: 242.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/5.032, allocations: 0 / 3.299 GB, free: 242.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/5.032, allocations: 7.984 kB / 3.299 GB, free: 242.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/5.032, allocations: 4 kB / 3.299 GB, free: 242.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/5.034, allocations: 1.438 MB / 3.3 GB, free: 240.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/5.034, allocations: 137.8 kB / 3.3 GB, free: 240.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/5.034, allocations: 68.41 kB / 3.3 GB, free: 240.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/5.035, allocations: 113.1 kB / 3.3 GB, free: 240.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/5.035, allocations: 50.48 kB / 3.3 GB, free: 240.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/5.035, allocations: 0 / 3.3 GB, free: 240.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004968/5.035, allocations: 145.3 kB / 3.301 GB, free: 240 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/5.035, allocations: 154.2 kB / 3.301 GB, free: 239.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/5.035, allocations: 211.8 kB / 3.301 GB, free: 239.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/5.035, allocations: 33.83 kB / 3.301 GB, free: 239.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/5.036, allocations: 144.1 kB / 3.301 GB, free: 239.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/5.036, allocations: 39.41 kB / 3.301 GB, free: 239.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/5.036, allocations: 0 / 3.301 GB, free: 239.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.726e-05/5.036, allocations: 330.8 kB / 3.302 GB, free: 239.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/5.036, allocations: 51.91 kB / 3.302 GB, free: 239 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/5.036, allocations: 145.1 kB / 3.302 GB, free: 238.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/5.036, allocations: 91.91 kB / 3.302 GB, free: 238.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/5.036, allocations: 0 / 3.302 GB, free: 238.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004564/5.037, allocations: 225.1 kB / 3.302 GB, free: 238.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/5.037, allocations: 4 kB / 3.302 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/5.037, allocations: 7.938 kB / 3.302 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/5.037, allocations: 3.938 kB / 3.302 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/5.037, allocations: 52.16 kB / 3.302 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/5.037, allocations: 4 kB / 3.302 GB, free: 238.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/5.037, allocations: 23.89 kB / 3.302 GB, free: 238.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/5.037, allocations: 11.98 kB / 3.302 GB, free: 238.4 MB / 1.151 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 7.051e-05/5.037, allocations: 116.9 kB / 3.302 GB, free: 238.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/5.037, allocations: 19.72 kB / 3.302 GB, free: 238.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/5.038, allocations: 115.3 kB / 3.302 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/5.038, allocations: 7.984 kB / 3.302 GB, free: 238.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/5.038, allocations: 0 / 3.302 GB, free: 238.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/5.038, allocations: 3.984 kB / 3.302 GB, free: 238.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000733/5.038, allocations: 0.8008 MB / 3.303 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/5.038, allocations: 4 kB / 3.303 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/5.039, allocations: 24.23 kB / 3.303 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/5.039, allocations: 0 / 3.303 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/5.039, allocations: 8 kB / 3.303 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/5.039, allocations: 8.062 kB / 3.303 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/5.039, allocations: 4 kB / 3.303 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004034/5.039, allocations: 360 kB / 3.304 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.977e-05/5.039, allocations: 120.7 kB / 3.304 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/5.039, allocations: 0 / 3.304 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/5.039, allocations: 20.14 kB / 3.304 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/5.039, allocations: 11.94 kB / 3.304 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/5.039, allocations: 7.984 kB / 3.304 GB, free: 236.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001151/5.04, allocations: 160.5 kB / 3.304 GB, free: 236.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007158/5.04, allocations: 171.8 kB / 3.304 GB, free: 236.3 MB / 1.151 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.001885/5.042, allocations: 1.182 MB / 3.305 GB, free: 235.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002311/5.042, allocations: 115.8 kB / 3.305 GB, free: 235 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/5.042, allocations: 0.5 kB / 3.305 GB, free: 235 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.473e-05/5.042, allocations: 43.92 kB / 3.305 GB, free: 235 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/5.043, allocations: 57.75 kB / 3.305 GB, free: 234.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/5.044, allocations: 344.7 kB / 3.306 GB, free: 234.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/5.044, allocations: 0.7941 MB / 3.306 GB, free: 233.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/5.044, allocations: 0 / 3.306 GB, free: 233.7 MB / 1.151 GB Notification: Performance of Templates: time 0.01465/5.059, allocations: 9.71 MB / 3.316 GB, free: 224.1 MB / 1.151 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