Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Convection.Examples.Interior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCon.Q_flow|conVer.Q_flow|conHorFluTop.Q_flow|conHorSolTop.Q_flow|conHorFluTop.solid.T|conHorFluTop.fluid.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior") translateModel(Buildings.HeatTransfer.Convection.Examples.Interior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCon.Q_flow|conVer.Q_flow|conHorFluTop.Q_flow|conHorSolTop.Q_flow|conHorFluTop.solid.T|conHorFluTop.fluid.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior") [: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 10.0.0-master/package.mo): time 1.955/1.955, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001249/0.001248, allocations: 181.2 kB / 490.8 MB, free: 1.918 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.293/1.293, allocations: 221.3 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009821/0.0009821, allocations: 91.16 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.093e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2328, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6697/0.9026, allocations: 152.9 MB / 1.361 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.9029, allocations: 79.31 kB / 1.361 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02475/0.9276, allocations: 7.943 MB / 1.369 GB, free: 16.61 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.872e-05/0.9277, allocations: 9.156 kB / 1.369 GB, free: 16.61 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009352/0.9287, allocations: 0.5048 MB / 1.369 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.798e-05/0.9287, allocations: 8.531 kB / 1.369 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.9289, allocations: 36.23 kB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005729/0.9295, allocations: 302.4 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.9295, allocations: 6.812 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.9295, allocations: 10.53 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002991/0.9298, allocations: 97.77 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.9301, allocations: 136.3 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.9302, allocations: 1.062 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.9302, allocations: 0 / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.9302, allocations: 5.312 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.9312, allocations: 0.7695 MB / 1.371 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.9316, allocations: 115.8 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.9317, allocations: 47.27 kB / 1.371 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.9318, allocations: 2.297 kB / 1.371 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.9318, allocations: 33.05 kB / 1.371 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 2.434e-06/0.9318, allocations: 0 / 1.371 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0005282/0.9323, allocations: 128.8 kB / 1.371 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.9324, allocations: 53.09 kB / 1.371 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.9327, allocations: 176.4 kB / 1.371 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.9327, allocations: 29.7 kB / 1.371 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.9328, allocations: 136 kB / 1.371 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.9329, allocations: 47.59 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/0.9329, allocations: 112 / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.933, allocations: 332 kB / 1.372 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/0.9331, allocations: 20.11 kB / 1.372 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.323e-05/0.9332, allocations: 27.58 kB / 1.372 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.9334, allocations: 39.95 kB / 1.372 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9334, allocations: 0 / 1.372 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003228/0.9337, allocations: 131.4 kB / 1.372 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.006e-05/0.9338, allocations: 91.25 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.9338, allocations: 0.6094 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.9338, allocations: 1.469 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.934, allocations: 35.67 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.934, allocations: 2.078 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.9342, allocations: 20.61 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.9342, allocations: 3.156 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.9343, allocations: 3.625 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002117/0.9345, allocations: 72.12 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.9345, allocations: 0 / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.9345, allocations: 1.688 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.9346, allocations: 32.42 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.9347, allocations: 0 / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.9348, allocations: 25.55 kB / 1.372 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.9348, allocations: 2.75 kB / 1.372 GB, free: 30.41 MB / 0.8386 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 (13): * Single equations (assignments): 13 * 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 8.538e-05/0.9349, allocations: 108.6 kB / 1.372 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.935, allocations: 24.31 kB / 1.372 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.9353, allocations: 126.9 kB / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9353, allocations: 2.672 kB / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.9353, allocations: 0 / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.9353, allocations: 1.734 kB / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.9356, allocations: 229.2 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.9356, allocations: 1.156 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.9358, allocations: 42.5 kB / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.9358, allocations: 1.75 kB / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.9358, allocations: 0 / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.9358, allocations: 2.875 kB / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.9358, allocations: 0 / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003218/0.9361, allocations: 216.4 kB / 1.373 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.9362, allocations: 109.9 kB / 1.373 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.9363, allocations: 7.938 kB / 1.373 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.9365, allocations: 12.56 kB / 1.373 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.9365, allocations: 6.484 kB / 1.373 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.9365, allocations: 4.094 kB / 1.373 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001604/0.9367, allocations: 142.4 kB / 1.373 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004872/0.9372, allocations: 106.8 kB / 1.373 GB, free: 29.71 MB / 0.8386 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 (13): * Single equations (assignments): 13 * 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.000245/0.9374, allocations: 112.5 kB / 1.373 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.9378, allocations: 106.7 kB / 1.373 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9378, allocations: 3.938 kB / 1.373 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.9378, allocations: 39.42 kB / 1.373 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.9382, allocations: 30.34 kB / 1.373 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.9388, allocations: 235.6 kB / 1.374 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/0.9392, allocations: 0.7691 MB / 1.374 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.9393, allocations: 4 kB / 1.374 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.008309/0.9476, allocations: 2.593 MB / 1.377 GB, free: 28.57 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.sim & ./Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Convection_Examples_Interior.csv","../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches