Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [: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 7.0.3-maint.7.0.x/package.mo): time 1.245/1.245, allocations: 249.4 MB / 256.7 MB, free: 7.039 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.001083/0.001083, allocations: 175.9 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.179/1.179, allocations: 205.2 MB / 0.5667 GB, free: 15.65 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.0008798/0.0008798, allocations: 94.39 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.374e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.145, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.145/3.29, allocations: 2.182 GB / 3.067 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/3.29, allocations: 87.95 kB / 3.067 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.3518/3.642, allocations: 213.8 MB / 3.276 GB, free: 376 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.997e-05/3.642, allocations: 12 kB / 3.276 GB, free: 364 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.2659/3.908, allocations: 0.6732 MB / 3.276 GB, free: 349.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/3.908, allocations: 7.875 kB / 3.276 GB, free: 349.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006121/3.909, allocations: 86.33 kB / 3.277 GB, free: 349.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/3.909, allocations: 304 kB / 3.277 GB, free: 349.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/3.909, allocations: 7.531 kB / 3.277 GB, free: 349.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/3.909, allocations: 18.22 kB / 3.277 GB, free: 349.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003235/3.91, allocations: 191.8 kB / 3.277 GB, free: 349.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/3.91, allocations: 254 kB / 3.277 GB, free: 349.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/3.91, allocations: 0 / 3.277 GB, free: 349.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/3.91, allocations: 0 / 3.277 GB, free: 349.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/3.91, allocations: 7.906 kB / 3.277 GB, free: 349.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/3.911, allocations: 1.001 MB / 3.278 GB, free: 349.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/3.912, allocations: 176.5 kB / 3.278 GB, free: 349 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/3.912, allocations: 100.9 kB / 3.279 GB, free: 349 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/3.912, allocations: 391.1 kB / 3.279 GB, free: 348.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/3.912, allocations: 38.22 kB / 3.279 GB, free: 348.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/3.912, allocations: 0 / 3.279 GB, free: 348.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001102/3.914, allocations: 345.8 kB / 3.279 GB, free: 348.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.594e-05/3.914, allocations: 53.88 kB / 3.279 GB, free: 348.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/3.914, allocations: 185.9 kB / 3.28 GB, free: 348.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/3.914, allocations: 25.7 kB / 3.28 GB, free: 348.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/3.914, allocations: 148.2 kB / 3.28 GB, free: 348.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/3.914, allocations: 67.61 kB / 3.28 GB, free: 348.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/3.914, allocations: 0 / 3.28 GB, free: 348.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.07e-05/3.914, allocations: 336.5 kB / 3.28 GB, free: 347.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.513e-05/3.914, allocations: 65.86 kB / 3.28 GB, free: 347.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/3.914, allocations: 123 kB / 3.28 GB, free: 347.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/3.915, allocations: 202 kB / 3.28 GB, free: 347.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/3.915, allocations: 3.906 kB / 3.28 GB, free: 347.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008164/3.916, allocations: 344.2 kB / 3.281 GB, free: 347.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/3.916, allocations: 7.75 kB / 3.281 GB, free: 347.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/3.916, allocations: 3.375 kB / 3.281 GB, free: 347.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/3.916, allocations: 3.5 kB / 3.281 GB, free: 347.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/3.916, allocations: 69.75 kB / 3.281 GB, free: 347.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/3.916, allocations: 6.062 kB / 3.281 GB, free: 347.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/3.916, allocations: 55.33 kB / 3.281 GB, free: 347.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/3.916, allocations: 19.64 kB / 3.281 GB, free: 347.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 6.437e-05/3.916, allocations: 103.3 kB / 3.281 GB, free: 347.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/3.916, allocations: 22.09 kB / 3.281 GB, free: 347.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008821/3.917, allocations: 356.9 kB / 3.281 GB, free: 347.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/3.917, allocations: 3.125 kB / 3.281 GB, free: 347.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/3.917, allocations: 0 / 3.281 GB, free: 347.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/3.917, allocations: 0 / 3.281 GB, free: 347.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/3.919, allocations: 0.8681 MB / 3.282 GB, free: 347.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/3.919, allocations: 0 / 3.282 GB, free: 347.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/3.919, allocations: 63.12 kB / 3.282 GB, free: 347.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/3.919, allocations: 2.719 kB / 3.282 GB, free: 347.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/3.919, allocations: 5.594 kB / 3.282 GB, free: 347.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/3.919, allocations: 3.812 kB / 3.282 GB, free: 347.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/3.919, allocations: 1.938 kB / 3.282 GB, free: 347.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009768/3.92, allocations: 0.6299 MB / 3.283 GB, free: 346.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/3.92, allocations: 126.2 kB / 3.283 GB, free: 346.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/3.92, allocations: 5.406 kB / 3.283 GB, free: 346.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/3.921, allocations: 40.83 kB / 3.283 GB, free: 346.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/3.921, allocations: 15.39 kB / 3.283 GB, free: 346.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/3.921, allocations: 13.64 kB / 3.283 GB, free: 346.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.47e-05/3.921, allocations: 143.8 kB / 3.283 GB, free: 346.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005384/3.921, allocations: 188 kB / 3.283 GB, free: 346.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001192/3.922, allocations: 1.161 MB / 3.285 GB, free: 346.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002904/3.923, allocations: 179.6 kB / 3.285 GB, free: 346.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/3.923, allocations: 0 / 3.285 GB, free: 346.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/3.923, allocations: 110.2 kB / 3.285 GB, free: 346.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/3.923, allocations: 83.7 kB / 3.285 GB, free: 346.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/3.924, allocations: 448.8 kB / 3.285 GB, free: 346.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/3.924, allocations: 0.8136 MB / 3.286 GB, free: 345.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/3.924, allocations: 0 / 3.286 GB, free: 345.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.01339/3.938, allocations: 10.46 MB / 3.296 GB, free: 345.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches