Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.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.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins") [: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.229/1.229, allocations: 249.4 MB / 256.7 MB, free: 6.926 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.00104/0.001041, allocations: 181.3 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.145/1.145, allocations: 205.2 MB / 0.5667 GB, free: 15.68 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.0008941/0.0008939, allocations: 90.09 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.681e-06/5.701e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1555, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.402/3.557, allocations: 2.197 GB / 3.081 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/3.558, allocations: 83.95 kB / 3.081 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.15/3.708, allocations: 76.12 MB / 3.156 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.395e-05/3.708, allocations: 28 kB / 3.156 GB, free: 130.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.001954/3.71, allocations: 1.352 MB / 3.157 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/3.71, allocations: 8.031 kB / 3.157 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007736/3.717, allocations: 1.539 MB / 3.159 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/3.719, allocations: 0.8793 MB / 3.159 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/3.719, allocations: 40 kB / 3.16 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/3.719, allocations: 64 kB / 3.16 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002676/3.722, allocations: 2.085 MB / 3.162 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/3.724, allocations: 1.516 MB / 3.163 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/3.724, allocations: 3.938 kB / 3.163 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/3.724, allocations: 8 kB / 3.163 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/3.724, allocations: 28 kB / 3.163 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006864/3.731, allocations: 4.497 MB / 3.168 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/3.733, allocations: 1.933 MB / 3.169 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008913/3.734, allocations: 0.776 MB / 3.17 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003693/3.734, allocations: 0.6022 MB / 3.171 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/3.736, allocations: 1.006 MB / 3.172 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=121): time 3.236e-06/3.736, allocations: 7.938 kB / 3.172 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121): time 0.003019/3.739, allocations: 1.674 MB / 3.173 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/3.739, allocations: 252.3 kB / 3.174 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006158/3.739, allocations: 0.5974 MB / 3.174 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/3.739, allocations: 25.7 kB / 3.174 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/3.74, allocations: 376.4 kB / 3.175 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/3.74, allocations: 382.2 kB / 3.175 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-05/3.74, allocations: 3.938 kB / 3.175 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/3.74, allocations: 402.6 kB / 3.175 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008419/3.741, allocations: 0.6824 MB / 3.176 GB, free: 109 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009175/3.742, allocations: 0.8179 MB / 3.177 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/3.743, allocations: 0.7134 MB / 3.177 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/3.743, allocations: 0 / 3.177 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002829/3.746, allocations: 1.698 MB / 3.179 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/3.746, allocations: 8 kB / 3.179 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/3.746, allocations: 0 / 3.179 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/3.746, allocations: 88.86 kB / 3.179 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/3.749, allocations: 491.3 kB / 3.18 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/3.75, allocations: 1.469 MB / 3.181 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/3.752, allocations: 323 kB / 3.181 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/3.752, allocations: 55.84 kB / 3.182 GB, free: 103.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (126): * Single equations (assignments): 125 * 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.0002705/3.753, allocations: 124.8 kB / 3.182 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/3.753, allocations: 98.78 kB / 3.182 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/3.757, allocations: 2.181 MB / 3.184 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/3.757, allocations: 12 kB / 3.184 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/3.757, allocations: 3.906 kB / 3.184 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/3.757, allocations: 3.984 kB / 3.184 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005326/3.762, allocations: 3.839 MB / 3.188 GB, free: 96.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/3.762, allocations: 0 / 3.188 GB, free: 96.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002276/3.765, allocations: 495.4 kB / 3.188 GB, free: 96.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/3.765, allocations: 92.72 kB / 3.188 GB, free: 96.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/3.765, allocations: 35.84 kB / 3.188 GB, free: 96.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/3.767, allocations: 1.488 MB / 3.19 GB, free: 94.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/3.767, allocations: 0 / 3.19 GB, free: 94.63 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002939/3.77, allocations: 1.884 MB / 3.192 GB, free: 92.72 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006138/3.77, allocations: 463.2 kB / 3.192 GB, free: 92.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/3.77, allocations: 0 / 3.192 GB, free: 92.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/3.772, allocations: 299.7 kB / 3.192 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/3.773, allocations: 77.19 kB / 3.192 GB, free: 91.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/3.773, allocations: 55.94 kB / 3.192 GB, free: 91.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004764/3.773, allocations: 495.1 kB / 3.193 GB, free: 91.34 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001311/3.775, allocations: 462.8 kB / 3.193 GB, free: 90.89 MB / 0.8698 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 (135): * Single equations (assignments): 132 * 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.001653/3.776, allocations: 1.044 MB / 3.194 GB, free: 89.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002428/3.779, allocations: 1.74 MB / 3.196 GB, free: 88.14 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/3.779, allocations: 0 / 3.196 GB, free: 88.14 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/3.78, allocations: 1.01 MB / 3.197 GB, free: 87.12 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/3.781, allocations: 227.3 kB / 3.197 GB, free: 86.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/3.786, allocations: 2.261 MB / 3.199 GB, free: 84.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/3.787, allocations: 1.373 MB / 3.201 GB, free: 83.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.8e-07/3.787, allocations: 0 / 3.201 GB, free: 83.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.03541/3.823, allocations: 28.2 MB / 3.228 GB, free: 55.05 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches