Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.839/1.839, allocations: 387.2 MB / 394.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 191 kB / 487 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.3 MB / 0.7819 GB, free: 6.758 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008751/0.0008751, allocations: 98.05 kB / 0.9213 GB, free: 43.69 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.027e-06, allocations: 0 / 1.066 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8815/0.8815, allocations: 142.3 MB / 1.205 GB, free: 72.67 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2093/1.091, allocations: 153.9 MB / 1.356 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/1.091, allocations: 83.94 kB / 1.356 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.01965/1.111, allocations: 6.363 MB / 1.362 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.298e-05/1.111, allocations: 8 kB / 1.362 GB, free: 2.871 MB / 0.8542 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.0009367/1.112, allocations: 0.6346 MB / 1.362 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.112, allocations: 8.031 kB / 1.362 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.753e-05/1.112, allocations: 55.34 kB / 1.362 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/1.113, allocations: 315.6 kB / 1.363 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/1.113, allocations: 12 kB / 1.363 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/1.113, allocations: 23.98 kB / 1.363 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004045/1.113, allocations: 221.5 kB / 1.363 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/1.114, allocations: 305.1 kB / 1.363 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/1.114, allocations: 4 kB / 1.363 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/1.114, allocations: 0 / 1.363 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/1.114, allocations: 11.91 kB / 1.363 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/1.115, allocations: 1.379 MB / 1.365 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/1.116, allocations: 239.9 kB / 1.365 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/1.116, allocations: 161.8 kB / 1.365 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/1.116, allocations: 4.234 kB / 1.365 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/1.116, allocations: 38.8 kB / 1.365 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=27): time 3.206e-06/1.116, allocations: 3.984 kB / 1.365 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=27): time 0.001045/1.117, allocations: 385.5 kB / 1.365 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/1.117, allocations: 55.41 kB / 1.366 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/1.118, allocations: 251.5 kB / 1.366 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/1.118, allocations: 25.7 kB / 1.366 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/1.118, allocations: 191.9 kB / 1.366 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/1.118, allocations: 90.69 kB / 1.366 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/1.118, allocations: 0 / 1.366 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.118, allocations: 338.7 kB / 1.366 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/1.118, allocations: 80.55 kB / 1.366 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/1.118, allocations: 136.5 kB / 1.367 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/1.119, allocations: 109 kB / 1.367 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.119, allocations: 0 / 1.367 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009433/1.12, allocations: 417.6 kB / 1.367 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/1.12, allocations: 0.5285 MB / 1.368 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.12, allocations: 0 / 1.368 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007549/1.121, allocations: 168.7 kB / 1.368 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/1.121, allocations: 52.66 kB / 1.368 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009147/1.122, allocations: 0.8353 MB / 1.369 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/1.122, allocations: 23.83 kB / 1.369 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/1.122, allocations: 14.81 kB / 1.369 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/1.122, allocations: 4 kB / 1.369 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008713/1.123, allocations: 360.4 kB / 1.369 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/1.123, allocations: 0 / 1.369 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/1.124, allocations: 182 kB / 1.369 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/1.124, allocations: 43.91 kB / 1.369 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/1.126, allocations: 2.227 MB / 1.371 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/1.127, allocations: 31.98 kB / 1.371 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/1.127, allocations: 15.91 kB / 1.371 GB, free: 8.523 MB / 0.8698 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 0.0001109/1.127, allocations: 109.2 kB / 1.372 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/1.127, allocations: 27.62 kB / 1.372 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/1.127, allocations: 39.86 kB / 1.372 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.127, allocations: 8 kB / 1.372 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/1.127, allocations: 0 / 1.372 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.127, allocations: 0 / 1.372 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/1.128, allocations: 362.2 kB / 1.372 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.128, allocations: 1.062 kB / 1.372 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/1.128, allocations: 27.92 kB / 1.372 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006643/1.128, allocations: 176.7 kB / 1.372 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/1.128, allocations: 0 / 1.372 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/1.131, allocations: 2.23 MB / 1.374 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.131, allocations: 160 / 1.374 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009211/1.132, allocations: 491.5 kB / 1.375 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/1.132, allocations: 128.6 kB / 1.375 GB, free: 4.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/1.132, allocations: 4 kB / 1.375 GB, free: 4.742 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/1.133, allocations: 21.27 kB / 1.375 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/1.133, allocations: 15.91 kB / 1.375 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/1.133, allocations: 8 kB / 1.375 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001813/1.133, allocations: 191.1 kB / 1.375 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006553/1.133, allocations: 203.4 kB / 1.375 GB, free: 4.316 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: 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.0001784/1.134, allocations: 105.2 kB / 1.375 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001022/1.135, allocations: 0.5092 MB / 1.376 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.135, allocations: 4 kB / 1.376 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003889/1.135, allocations: 257.4 kB / 1.376 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/1.136, allocations: 66.91 kB / 1.376 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/1.137, allocations: 484.2 kB / 1.377 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/1.137, allocations: 0.8229 MB / 1.378 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/1.137, allocations: 0 / 1.378 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of Templates: time 0.01283/1.15, allocations: 7.151 MB / 1.385 GB, free: 11.04 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches