Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") [: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.201/1.201, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.0009641/0.0009641, allocations: 189 kB / 316 MB, free: 3.613 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.054/1.054, 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.0008626/0.0008625, allocations: 98.3 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.39e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/0.5336, allocations: 137.4 MB / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.5339, allocations: 93.28 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01991/0.5538, allocations: 7.151 MB / 1.026 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.5539, allocations: 4 kB / 1.026 GB, free: 11.39 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005769/0.5545, allocations: 0.4957 MB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.5545, allocations: 8.031 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.5546, allocations: 23.72 kB / 1.026 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.5551, allocations: 327.7 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.253e-05/0.5552, allocations: 63.39 kB / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.5552, allocations: 7.938 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001783/0.5554, allocations: 106 kB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.5556, allocations: 93.28 kB / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5556, allocations: 0 / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.5556, allocations: 0 / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5556, allocations: 0 / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.5558, allocations: 222.1 kB / 1.027 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.5572, allocations: 352.6 kB / 1.027 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.5573, allocations: 59.2 kB / 1.027 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.5575, allocations: 101.1 kB / 1.028 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.5575, allocations: 42.5 kB / 1.028 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.5575, allocations: 0 / 1.028 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.000401/0.5579, allocations: 159.7 kB / 1.028 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.558, allocations: 51.41 kB / 1.028 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.5582, allocations: 256 kB / 1.028 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.5583, allocations: 25.7 kB / 1.028 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.5583, allocations: 107.1 kB / 1.028 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.5584, allocations: 27.27 kB / 1.028 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.5584, allocations: 0 / 1.028 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5585, allocations: 337 kB / 1.029 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.5586, allocations: 130.8 kB / 1.029 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.5588, allocations: 126.4 kB / 1.029 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.5593, allocations: 255.6 kB / 1.029 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5593, allocations: 0 / 1.029 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007747/0.5601, allocations: 0.5348 MB / 1.03 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.5601, allocations: 4 kB / 1.03 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.5601, allocations: 4 kB / 1.03 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.5602, allocations: 0 / 1.03 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.5603, allocations: 19.98 kB / 1.03 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.5603, allocations: 7.906 kB / 1.03 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.5604, allocations: 31.53 kB / 1.03 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.5604, allocations: 15.23 kB / 1.03 GB, free: 7.641 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.128e-05/0.5605, allocations: 101 kB / 1.03 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.5606, allocations: 19.72 kB / 1.03 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.5609, allocations: 216.2 kB / 1.03 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.561, allocations: 7.984 kB / 1.03 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.561, allocations: 3.984 kB / 1.03 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.561, allocations: 0 / 1.03 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.5611, allocations: 203.1 kB / 1.03 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5611, allocations: 4.125 kB / 1.03 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.5612, allocations: 16 kB / 1.03 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5613, allocations: 4 kB / 1.03 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.5613, allocations: 15.14 kB / 1.03 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.5613, allocations: 0 / 1.03 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5613, allocations: 3.938 kB / 1.03 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000298/0.5616, allocations: 190.1 kB / 1.03 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/0.5617, allocations: 107.7 kB / 1.03 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.5617, allocations: 3.984 kB / 1.03 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.5618, allocations: 11.91 kB / 1.031 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.5619, allocations: 7.984 kB / 1.031 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.5619, allocations: 8 kB / 1.031 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001318/0.562, allocations: 186.6 kB / 1.031 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003662/0.5624, allocations: 127.2 kB / 1.031 GB, free: 6.434 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0003604/0.5628, allocations: 226.8 kB / 1.031 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.5631, allocations: 345.1 kB / 1.031 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.5631, allocations: 3.938 kB / 1.031 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.768e-05/0.5632, allocations: 47.42 kB / 1.031 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.5634, allocations: 26.95 kB / 1.031 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.5638, allocations: 242.5 kB / 1.032 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.5641, allocations: 0.7625 MB / 1.032 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of SimCode: time 2.11e-07/0.5641, allocations: 0 / 1.032 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.006019/0.5701, allocations: 3.379 MB / 1.036 GB, free: 1.52 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches