Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winEas.y|winSou.y|winWes.y|winNor.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winEas.y|winSou.y|winWes.y|winNor.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") [: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.995/1.995, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001007/0.001007, allocations: 189.2 kB / 487 MB, free: 5.328 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.51/1.51, allocations: 221.3 MB / 0.7819 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 105.4 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.673e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2725, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7848/1.057, allocations: 156.6 MB / 1.358 GB, free: 16.13 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/1.058, allocations: 81.39 kB / 1.358 GB, free: 16.13 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.06735/1.125, allocations: 25.46 MB / 1.383 GB, free: 13.93 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.113e-05/1.125, allocations: 16 kB / 1.383 GB, free: 13.91 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001927/1.127, allocations: 1.019 MB / 1.384 GB, free: 12.91 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.127, allocations: 8.031 kB / 1.384 GB, free: 12.91 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/1.127, allocations: 114.7 kB / 1.384 GB, free: 12.79 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009366/1.137, allocations: 4.154 MB / 1.388 GB, free: 9.66 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/1.137, allocations: 31.94 kB / 1.388 GB, free: 9.629 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/1.137, allocations: 44 kB / 1.388 GB, free: 9.586 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001178/1.138, allocations: 0.591 MB / 1.389 GB, free: 9.234 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/1.139, allocations: 0.7045 MB / 1.39 GB, free: 8.719 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/1.139, allocations: 0 / 1.39 GB, free: 8.719 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/1.139, allocations: 0 / 1.39 GB, free: 8.719 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/1.139, allocations: 20 kB / 1.39 GB, free: 8.699 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/1.144, allocations: 2.489 MB / 1.392 GB, free: 6.871 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003562/1.147, allocations: 0.9788 MB / 1.393 GB, free: 6.129 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/1.148, allocations: 305.3 kB / 1.393 GB, free: 5.938 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.53e-05/1.148, allocations: 23.28 kB / 1.393 GB, free: 5.918 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.148, allocations: 50.5 kB / 1.393 GB, free: 5.867 MB / 0.823 GB Notification: Performance of pre-optimization done (n=80): time 2.475e-06/1.148, allocations: 0 / 1.393 GB, free: 5.867 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.00143/1.149, allocations: 0.6299 MB / 1.394 GB, free: 5.414 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/1.149, allocations: 136.5 kB / 1.394 GB, free: 5.25 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/1.15, allocations: 449.4 kB / 1.395 GB, free: 4.914 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/1.15, allocations: 25.7 kB / 1.395 GB, free: 4.883 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/1.15, allocations: 275.2 kB / 1.395 GB, free: 4.637 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/1.15, allocations: 263.1 kB / 1.395 GB, free: 4.406 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/1.15, allocations: 0 / 1.395 GB, free: 4.406 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000199/1.151, allocations: 372.9 kB / 1.395 GB, free: 4.059 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/1.151, allocations: 212 kB / 1.396 GB, free: 3.945 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/1.151, allocations: 291 kB / 1.396 GB, free: 3.742 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/1.152, allocations: 257.2 kB / 1.396 GB, free: 3.598 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.152, allocations: 4 kB / 1.396 GB, free: 3.594 MB / 0.823 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001165/1.153, allocations: 0.6445 MB / 1.397 GB, free: 3.133 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.153, allocations: 8 kB / 1.397 GB, free: 3.125 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.153, allocations: 0 / 1.397 GB, free: 3.125 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.153, allocations: 4 kB / 1.397 GB, free: 3.121 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/1.154, allocations: 147.5 kB / 1.397 GB, free: 2.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.154, allocations: 4 kB / 1.397 GB, free: 2.977 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/1.155, allocations: 71.33 kB / 1.397 GB, free: 2.906 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/1.155, allocations: 30.22 kB / 1.397 GB, free: 2.883 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (winNor.proShaLen.solAzi.outsidePolarCircle,winWes.proShaLen.solAzi.outsidePolarCircle,winSou.proShaLen.solAzi.outsidePolarCircle,winEas.proShaLen.solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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 0.0001747/1.155, allocations: 112.9 kB / 1.397 GB, free: 2.766 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/1.155, allocations: 71.14 kB / 1.397 GB, free: 2.695 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/1.158, allocations: 1.015 MB / 1.398 GB, free: 1.941 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/1.158, allocations: 12 kB / 1.398 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.158, allocations: 8 kB / 1.398 GB, free: 1.922 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/1.158, allocations: 7.969 kB / 1.398 GB, free: 1.914 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/1.159, allocations: 0.8653 MB / 1.399 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.159, allocations: 0 / 1.399 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009/1.16, allocations: 198.5 kB / 1.399 GB, free: 1.078 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.118e-05/1.16, allocations: 4 kB / 1.399 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/1.16, allocations: 19.47 kB / 1.399 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/1.16, allocations: 8 kB / 1.399 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.16, allocations: 3.984 kB / 1.399 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001596/1.162, allocations: 1.155 MB / 1.4 GB, free: 88 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/1.162, allocations: 284.2 kB / 1.401 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/1.162, allocations: 0 / 1.401 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/1.163, allocations: 19.98 kB / 1.401 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/1.163, allocations: 73.3 kB / 1.401 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/1.163, allocations: 33.73 kB / 1.401 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004255/1.163, allocations: 362.6 kB / 1.401 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001106/1.165, allocations: 242.7 kB / 1.401 GB, free: 15.25 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.0007914/1.165, allocations: 300.5 kB / 1.402 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001106/1.166, allocations: 0.6121 MB / 1.402 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.167, allocations: 0 / 1.402 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005757/1.167, allocations: 417.1 kB / 1.403 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/1.168, allocations: 33.14 kB / 1.403 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/1.17, allocations: 1.142 MB / 1.404 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/1.171, allocations: 1.13 MB / 1.405 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.171, allocations: 0 / 1.405 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of Templates: time 0.01913/1.191, allocations: 8.836 MB / 1.414 GB, free: 3.387 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches