Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") [: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.203/1.203, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.0009283/0.0009283, allocations: 189.2 kB / 316 MB, free: 3.578 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.67 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.0008761/0.000876, allocations: 99.31 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.602e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1465, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5787, allocations: 137.4 MB / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5789, allocations: 87 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01773/0.5967, allocations: 6.34 MB / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.155e-05/0.5967, allocations: 20.73 kB / 1.025 GB, free: 12.06 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008173/0.5976, allocations: 0.6254 MB / 1.026 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5976, allocations: 12.03 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/0.5977, allocations: 47.44 kB / 1.026 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.5981, allocations: 322.5 kB / 1.026 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.5981, allocations: 12 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.5982, allocations: 20 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003702/0.5986, allocations: 215.1 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.599, allocations: 313.4 kB / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.599, allocations: 0 / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.599, allocations: 4 kB / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.599, allocations: 8 kB / 1.027 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.6006, allocations: 1.384 MB / 1.028 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.6011, allocations: 240.3 kB / 1.028 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.6014, allocations: 159.6 kB / 1.028 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.6014, allocations: 4.234 kB / 1.028 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.6015, allocations: 34.17 kB / 1.028 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 1.282e-06/0.6015, allocations: 4 kB / 1.028 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.0009708/0.6024, allocations: 390 kB / 1.029 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.6025, allocations: 51.41 kB / 1.029 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.6027, allocations: 253.3 kB / 1.029 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.6027, allocations: 25.7 kB / 1.029 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/0.6028, allocations: 189.6 kB / 1.029 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.6029, allocations: 89.09 kB / 1.029 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.6029, allocations: 0 / 1.029 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.603, allocations: 340.3 kB / 1.03 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.6032, allocations: 81.05 kB / 1.03 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.6033, allocations: 133.9 kB / 1.03 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.6035, allocations: 107.6 kB / 1.03 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6035, allocations: 3.938 kB / 1.03 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009046/0.6044, allocations: 420.2 kB / 1.03 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.6046, allocations: 0.5235 MB / 1.031 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6046, allocations: 4 kB / 1.031 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007025/0.6053, allocations: 179.4 kB / 1.031 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.6055, allocations: 42.72 kB / 1.031 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007576/0.6062, allocations: 0.8225 MB / 1.032 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.6065, allocations: 35.89 kB / 1.032 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.6066, allocations: 15.25 kB / 1.032 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/0.6066, allocations: 4 kB / 1.032 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008306/0.6074, allocations: 354.5 kB / 1.032 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6074, allocations: 4 kB / 1.032 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/0.608, allocations: 178 kB / 1.032 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.6082, allocations: 39.23 kB / 1.032 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.6108, allocations: 2.237 MB / 1.035 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.611, allocations: 27.77 kB / 1.035 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.6111, allocations: 11.19 kB / 1.035 GB, free: 3.215 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 8.511e-05/0.6112, allocations: 109 kB / 1.035 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.6112, allocations: 39.52 kB / 1.035 GB, free: 3.062 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.321e-05/0.6113, allocations: 41.3 kB / 1.035 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6113, allocations: 4 kB / 1.035 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.6113, allocations: 3.938 kB / 1.035 GB, free: 3.031 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.6113, allocations: 4 kB / 1.035 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.6117, allocations: 358.9 kB / 1.035 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6117, allocations: 0 / 1.035 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.6118, allocations: 27.98 kB / 1.035 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006096/0.6125, allocations: 179.9 kB / 1.035 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.6125, allocations: 3.984 kB / 1.035 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.615, allocations: 2.216 MB / 1.038 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.615, allocations: 3.938 kB / 1.038 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008436/0.6158, allocations: 484.1 kB / 1.038 GB, free: 164 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.616, allocations: 130.5 kB / 1.038 GB, free: 24 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.616, allocations: 0 / 1.038 GB, free: 24 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.6162, allocations: 15.98 kB / 1.038 GB, free: 8 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.6163, allocations: 11.11 kB / 1.038 GB, free: 0 / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.6163, allocations: 4.047 kB / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001583/0.6165, allocations: 209.1 kB / 1.038 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000535/0.617, allocations: 199.4 kB / 1.039 GB, free: 15.63 MB / 0.6667 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 (11): * Single equations (assignments): 10 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001447/0.6172, allocations: 99.7 kB / 1.039 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009001/0.6181, allocations: 0.5052 MB / 1.039 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6181, allocations: 0 / 1.039 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.6185, allocations: 254.5 kB / 1.039 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.6189, allocations: 69.83 kB / 1.04 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.62, allocations: 473.9 kB / 1.04 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/0.6204, allocations: 0.8268 MB / 1.041 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of SimCode: time 2.8e-07/0.6204, allocations: 0 / 1.041 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of Templates: time 0.01108/0.6315, allocations: 7.151 MB / 1.048 GB, free: 6.492 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches