Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.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.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside") [: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.186/1.186, allocations: 249.4 MB / 256.7 MB, free: 0.668 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 188.1 kB / 316 MB, free: 8.867 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.044/1.044, allocations: 205.1 MB / 0.5667 GB, free: 13.38 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007752/0.0007753, allocations: 92.81 kB / 0.671 GB, free: 51.52 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 6.112e-06/6.132e-06, allocations: 0 / 0.7807 GB, free: 9.926 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4452, allocations: 106.3 MB / 0.8845 GB, free: 89.05 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.227/3.673, allocations: 2.219 GB / 3.103 GB, free: 160.1 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/3.673, allocations: 84.52 kB / 3.103 GB, free: 160 MB / 0.8777 GB Notification: Performance of FrontEnd: time 0.9828/4.656, allocations: 384.4 MB / 3.479 GB, free: 125.5 MB / 0.8777 GB Notification: Performance of Transformations before backend: time 8.804e-05/4.656, allocations: 41.17 kB / 3.479 GB, free: 125.4 MB / 0.8777 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002469/4.659, allocations: 1.533 MB / 3.48 GB, free: 123.9 MB / 0.8777 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/4.659, allocations: 8.031 kB / 3.48 GB, free: 123.9 MB / 0.8777 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/4.661, allocations: 369.7 kB / 3.481 GB, free: 123.5 MB / 0.8777 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/4.662, allocations: 1.122 MB / 3.482 GB, free: 122.4 MB / 0.8777 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/4.663, allocations: 36 kB / 3.482 GB, free: 122.3 MB / 0.8777 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/4.663, allocations: 67.98 kB / 3.482 GB, free: 122.3 MB / 0.8777 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001603/4.664, allocations: 1.289 MB / 3.483 GB, free: 121 MB / 0.8777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/4.666, allocations: 1.031 MB / 3.484 GB, free: 119.9 MB / 0.8777 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/4.666, allocations: 4 kB / 3.484 GB, free: 119.9 MB / 0.8777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-05/4.666, allocations: 0 / 3.484 GB, free: 119.9 MB / 0.8777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/4.666, allocations: 31.94 kB / 3.484 GB, free: 119.8 MB / 0.8777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005153/4.671, allocations: 3.562 MB / 3.488 GB, free: 116.2 MB / 0.8777 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/4.672, allocations: 0.9487 MB / 3.489 GB, free: 115.2 MB / 0.8777 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/4.673, allocations: 391.1 kB / 3.489 GB, free: 114.9 MB / 0.8777 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006867/4.673, allocations: 0.5007 MB / 3.489 GB, free: 114.3 MB / 0.8777 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006595/4.674, allocations: 0.5543 MB / 3.49 GB, free: 113.7 MB / 0.8777 GB Notification: Performance of pre-optimization done (n=97): time 3.065e-06/4.674, allocations: 0 / 3.49 GB, free: 113.7 MB / 0.8777 GB Notification: Performance of matching and sorting (n=97): time 0.002832/4.677, allocations: 1.107 MB / 3.491 GB, free: 112.6 MB / 0.8777 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/4.677, allocations: 252.1 kB / 3.491 GB, free: 112.3 MB / 0.8777 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/4.678, allocations: 0.6095 MB / 3.492 GB, free: 111.7 MB / 0.8777 GB Notification: Performance of collectPreVariables (initialization): time 6.807e-05/4.678, allocations: 29.7 kB / 3.492 GB, free: 111.6 MB / 0.8777 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/4.678, allocations: 388 kB / 3.492 GB, free: 111.2 MB / 0.8777 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/4.678, allocations: 315.3 kB / 3.493 GB, free: 110.9 MB / 0.8777 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/4.678, allocations: 0 / 3.493 GB, free: 110.9 MB / 0.8777 GB Notification: Performance of setup shared object (initialization): time 5.791e-05/4.678, allocations: 337.9 kB / 3.493 GB, free: 110.6 MB / 0.8777 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/4.679, allocations: 309.9 kB / 3.493 GB, free: 110.3 MB / 0.8777 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/4.679, allocations: 453.7 kB / 3.494 GB, free: 109.8 MB / 0.8777 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/4.68, allocations: 0.5131 MB / 3.494 GB, free: 109.3 MB / 0.8777 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/4.68, allocations: 0 / 3.494 GB, free: 109.3 MB / 0.8777 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002187/4.682, allocations: 1.102 MB / 3.495 GB, free: 108.2 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/4.682, allocations: 4 kB / 3.495 GB, free: 108.2 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/4.682, allocations: 3.938 kB / 3.495 GB, free: 108.2 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005778/4.683, allocations: 80.84 kB / 3.495 GB, free: 108.1 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/4.684, allocations: 211.7 kB / 3.496 GB, free: 107.9 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/4.685, allocations: 1.468 MB / 3.497 GB, free: 106.3 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007623/4.686, allocations: 95.34 kB / 3.497 GB, free: 106.2 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.109e-05/4.686, allocations: 35.97 kB / 3.497 GB, free: 106.2 MB / 0.8777 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001744/4.686, allocations: 124.9 kB / 3.497 GB, free: 106 MB / 0.8777 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/4.687, allocations: 98.97 kB / 3.497 GB, free: 105.9 MB / 0.8777 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/4.689, allocations: 1.443 MB / 3.499 GB, free: 104.5 MB / 0.8777 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/4.689, allocations: 12 kB / 3.499 GB, free: 104.5 MB / 0.8777 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/4.689, allocations: 0 / 3.499 GB, free: 104.5 MB / 0.8777 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/4.689, allocations: 11.88 kB / 3.499 GB, free: 104.4 MB / 0.8777 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/4.693, allocations: 2.541 MB / 3.501 GB, free: 101.9 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/4.693, allocations: 4 kB / 3.501 GB, free: 101.8 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008666/4.694, allocations: 195.9 kB / 3.501 GB, free: 101.7 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004917/4.694, allocations: 92.77 kB / 3.502 GB, free: 101.6 MB / 0.8777 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/4.695, allocations: 23.97 kB / 3.502 GB, free: 101.5 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/4.696, allocations: 1.482 MB / 3.503 GB, free: 99.93 MB / 0.8777 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/4.696, allocations: 0 / 3.503 GB, free: 99.93 MB / 0.8777 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002595/4.699, allocations: 1.82 MB / 3.505 GB, free: 98.04 MB / 0.8777 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/4.699, allocations: 343.5 kB / 3.505 GB, free: 97.69 MB / 0.8777 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/4.699, allocations: 4 kB / 3.505 GB, free: 97.68 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008139/4.7, allocations: 83.77 kB / 3.505 GB, free: 97.6 MB / 0.8777 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/4.7, allocations: 64.91 kB / 3.505 GB, free: 97.54 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.692e-05/4.7, allocations: 48.03 kB / 3.505 GB, free: 97.49 MB / 0.8777 GB Notification: Performance of sort global known variables: time 0.0004802/4.701, allocations: 0.4991 MB / 3.506 GB, free: 97 MB / 0.8777 GB Notification: Performance of remove unused functions: time 0.001312/4.702, allocations: 0.5022 MB / 3.506 GB, free: 96.5 MB / 0.8777 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002239/4.704, allocations: 1.942 MB / 3.508 GB, free: 94.78 MB / 0.8777 GB Notification: Performance of simCode: created initialization part: time 0.001245/4.706, allocations: 0.9164 MB / 3.509 GB, free: 93.85 MB / 0.8777 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/4.706, allocations: 0 / 3.509 GB, free: 93.85 MB / 0.8777 GB Notification: Performance of simCode: created simulation system equations: time 0.0006831/4.706, allocations: 0.5682 MB / 3.51 GB, free: 93.28 MB / 0.8777 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/4.708, allocations: 352.9 kB / 3.51 GB, free: 92.94 MB / 0.8777 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/4.711, allocations: 1.954 MB / 3.512 GB, free: 90.94 MB / 0.8777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008065/4.712, allocations: 1.293 MB / 3.513 GB, free: 89.62 MB / 0.8777 GB Notification: Performance of SimCode: time 7.92e-07/4.712, allocations: 0 / 3.513 GB, free: 89.62 MB / 0.8777 GB Notification: Performance of Templates: time 0.03349/4.746, allocations: 28.1 MB / 3.541 GB, free: 61.73 MB / 0.8777 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_Outside.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches