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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.997/1.997, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001089/0.001089, allocations: 185.2 kB / 487 MB, free: 5.367 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.425/1.425, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009786/0.0009786, allocations: 94.38 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.757e-06/8.797e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2871, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.168/4.455, allocations: 1.866 GB / 3.071 GB, free: 437.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/4.455, allocations: 86.59 kB / 3.071 GB, free: 437.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.4116/4.867, allocations: 224 MB / 3.29 GB, free: 234.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.424e-05/4.867, allocations: 11.94 kB / 3.29 GB, free: 234.2 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.001169/4.868, allocations: 0.611 MB / 3.291 GB, free: 233.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/4.868, allocations: 8.031 kB / 3.291 GB, free: 233.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007442/4.869, allocations: 87.52 kB / 3.291 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/4.869, allocations: 283.5 kB / 3.291 GB, free: 233.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/4.869, allocations: 8 kB / 3.291 GB, free: 233.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/4.869, allocations: 12 kB / 3.291 GB, free: 233.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002877/4.87, allocations: 155.9 kB / 3.291 GB, free: 233 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/4.87, allocations: 240.5 kB / 3.292 GB, free: 232.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/4.87, allocations: 3.938 kB / 3.292 GB, free: 232.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/4.87, allocations: 3.906 kB / 3.292 GB, free: 232.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/4.87, allocations: 4 kB / 3.292 GB, free: 232.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/4.872, allocations: 1.441 MB / 3.293 GB, free: 231.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/4.872, allocations: 133.1 kB / 3.293 GB, free: 231 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/4.872, allocations: 68.41 kB / 3.293 GB, free: 230.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/4.872, allocations: 117 kB / 3.293 GB, free: 230.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/4.872, allocations: 46.55 kB / 3.293 GB, free: 230.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/4.872, allocations: 0 / 3.293 GB, free: 230.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004636/4.873, allocations: 145.3 kB / 3.293 GB, free: 230.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/4.873, allocations: 158.2 kB / 3.294 GB, free: 230.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/4.873, allocations: 207.9 kB / 3.294 GB, free: 230.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/4.873, allocations: 29.7 kB / 3.294 GB, free: 230.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/4.873, allocations: 148 kB / 3.294 GB, free: 230 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/4.873, allocations: 35.47 kB / 3.294 GB, free: 229.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/4.873, allocations: 4.125 kB / 3.294 GB, free: 229.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/4.873, allocations: 330.8 kB / 3.294 GB, free: 229.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/4.873, allocations: 51.97 kB / 3.294 GB, free: 229.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/4.874, allocations: 130.3 kB / 3.295 GB, free: 229.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/4.874, allocations: 95.84 kB / 3.295 GB, free: 229.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/4.874, allocations: 0 / 3.295 GB, free: 229.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004504/4.874, allocations: 229.3 kB / 3.295 GB, free: 229.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/4.874, allocations: 4 kB / 3.295 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/4.874, allocations: 8 kB / 3.295 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/4.874, allocations: 0 / 3.295 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/4.875, allocations: 47.91 kB / 3.295 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/4.875, allocations: 8.188 kB / 3.295 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/4.875, allocations: 31.83 kB / 3.295 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/4.875, allocations: 8 kB / 3.295 GB, free: 229 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.477e-05/4.875, allocations: 120.8 kB / 3.295 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/4.875, allocations: 15.81 kB / 3.295 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/4.875, allocations: 119.3 kB / 3.295 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/4.875, allocations: 4 kB / 3.295 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/4.875, allocations: 3.938 kB / 3.295 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/4.875, allocations: 3.984 kB / 3.295 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007808/4.876, allocations: 0.7932 MB / 3.296 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/4.876, allocations: 8.031 kB / 3.296 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/4.876, allocations: 23.98 kB / 3.296 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/4.876, allocations: 0 / 3.296 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/4.876, allocations: 7.906 kB / 3.296 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/4.876, allocations: 4.062 kB / 3.296 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/4.876, allocations: 8 kB / 3.296 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004311/4.877, allocations: 364 kB / 3.296 GB, free: 227.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/4.877, allocations: 120.7 kB / 3.296 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/4.877, allocations: 0 / 3.296 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/4.877, allocations: 15.98 kB / 3.297 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/4.877, allocations: 12.06 kB / 3.297 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/4.877, allocations: 4 kB / 3.297 GB, free: 227.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000117/4.877, allocations: 164.5 kB / 3.297 GB, free: 227 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008496/4.878, allocations: 171.8 kB / 3.297 GB, free: 226.9 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.001575/4.88, allocations: 1.18 MB / 3.298 GB, free: 225.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000218/4.88, allocations: 115.8 kB / 3.298 GB, free: 225.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/4.88, allocations: 0 / 3.298 GB, free: 225.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.049e-05/4.88, allocations: 39.92 kB / 3.298 GB, free: 225.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/4.88, allocations: 63.17 kB / 3.298 GB, free: 225.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/4.881, allocations: 348.5 kB / 3.299 GB, free: 225.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/4.881, allocations: 0.798 MB / 3.299 GB, free: 224.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.81e-07/4.881, allocations: 3.938 kB / 3.299 GB, free: 224.3 MB / 1.151 GB Notification: Performance of Templates: time 0.01426/4.896, allocations: 9.702 MB / 3.309 GB, free: 214.6 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches