Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.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.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData") [: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 2.108/2.108, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001137/0.001137, allocations: 184.4 kB / 487 MB, free: 5.363 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.504/1.504, allocations: 221.3 MB / 0.7819 GB, free: 1.422 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.001044/0.001044, allocations: 97.56 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.424e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3067, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.095/4.401, allocations: 1.937 GB / 3.143 GB, free: 330 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/4.402, allocations: 95.19 kB / 3.143 GB, free: 329.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.5999/5.002, allocations: 326.4 MB / 3.461 GB, free: 14 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001329/5.002, allocations: 51.98 kB / 3.461 GB, free: 13.95 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.003264/5.005, allocations: 2.13 MB / 3.463 GB, free: 11.76 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/5.005, allocations: 8.031 kB / 3.463 GB, free: 11.75 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/5.009, allocations: 0.5863 MB / 3.464 GB, free: 11.16 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/5.012, allocations: 2.243 MB / 3.466 GB, free: 8.867 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/5.012, allocations: 55.98 kB / 3.466 GB, free: 8.812 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/5.013, allocations: 96 kB / 3.466 GB, free: 8.719 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002818/5.015, allocations: 1.876 MB / 3.468 GB, free: 6.84 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/5.018, allocations: 1.589 MB / 3.47 GB, free: 5.199 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/5.018, allocations: 3.938 kB / 3.47 GB, free: 5.195 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/5.018, allocations: 4 kB / 3.47 GB, free: 5.191 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/5.018, allocations: 36 kB / 3.47 GB, free: 5.156 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5713/5.589, allocations: 5.883 MB / 3.476 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/5.592, allocations: 1.812 MB / 3.477 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008942/5.593, allocations: 0.6684 MB / 3.478 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000748/5.594, allocations: 0.7539 MB / 3.479 GB, free: 265 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/5.595, allocations: 0.8552 MB / 3.48 GB, free: 264.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.657e-06/5.595, allocations: 3.75 kB / 3.48 GB, free: 264.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.004101/5.599, allocations: 1.6 MB / 3.481 GB, free: 264.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/5.599, allocations: 252 kB / 3.481 GB, free: 264.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003013/5.602, allocations: 2.341 MB / 3.484 GB, free: 264.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002047/5.602, allocations: 32.64 kB / 3.484 GB, free: 264.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/5.603, allocations: 0.5722 MB / 3.484 GB, free: 264.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/5.603, allocations: 441.2 kB / 3.485 GB, free: 264 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/5.603, allocations: 0 / 3.485 GB, free: 264 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/5.603, allocations: 350 kB / 3.485 GB, free: 263.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/5.604, allocations: 490.3 kB / 3.485 GB, free: 263.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008011/5.605, allocations: 0.6873 MB / 3.486 GB, free: 263.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008955/5.606, allocations: 0.5698 MB / 3.487 GB, free: 263.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/5.606, allocations: 3.562 kB / 3.487 GB, free: 263.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003164/5.609, allocations: 1.528 MB / 3.488 GB, free: 263.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/5.609, allocations: 7.812 kB / 3.488 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/5.609, allocations: 0 / 3.488 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/5.61, allocations: 208.7 kB / 3.488 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/5.611, allocations: 306.5 kB / 3.489 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004304/5.616, allocations: 6.501 MB / 3.495 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/5.618, allocations: 125.7 kB / 3.495 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/5.618, allocations: 66.67 kB / 3.495 GB, free: 257.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (131): * Single equations (assignments): 126 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000428/5.619, allocations: 134.6 kB / 3.495 GB, free: 257.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/5.619, allocations: 176.4 kB / 3.496 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/5.623, allocations: 2.02 MB / 3.497 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/5.623, allocations: 17.72 kB / 3.497 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/5.623, allocations: 0 / 3.497 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/5.623, allocations: 7.781 kB / 3.498 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006382/5.63, allocations: 3.857 MB / 3.501 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/5.63, allocations: 3.5 kB / 3.501 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/5.631, allocations: 321.4 kB / 3.502 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009356/5.632, allocations: 216.3 kB / 3.502 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/5.632, allocations: 26.08 kB / 3.502 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004505/5.637, allocations: 6.524 MB / 3.508 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/5.637, allocations: 0 / 3.508 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00366/5.641, allocations: 1.726 MB / 3.51 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/5.642, allocations: 0.6564 MB / 3.511 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/5.642, allocations: 0 / 3.511 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/5.644, allocations: 106.2 kB / 3.511 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/5.644, allocations: 88.64 kB / 3.511 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/5.644, allocations: 84.75 kB / 3.511 GB, free: 250 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002241/5.646, allocations: 1.812 MB / 3.513 GB, free: 249.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002471/5.649, allocations: 0.7598 MB / 3.513 GB, free: 249.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002606/5.651, allocations: 1.729 MB / 3.515 GB, free: 249.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002382/5.654, allocations: 1.717 MB / 3.517 GB, free: 249 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/5.654, allocations: 0.6562 kB / 3.517 GB, free: 249 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/5.655, allocations: 1.208 MB / 3.518 GB, free: 248.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/5.657, allocations: 417 kB / 3.518 GB, free: 248.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006732/5.664, allocations: 2.907 MB / 3.521 GB, free: 247.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002051/5.666, allocations: 1.859 MB / 3.523 GB, free: 247.1 MB / 1.151 GB Notification: Performance of SimCode: time 8.81e-07/5.666, allocations: 0 / 3.523 GB, free: 247.1 MB / 1.151 GB Notification: Performance of Templates: time 0.06333/5.73, allocations: 38.88 MB / 3.561 GB, free: 246.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches