Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winEas.y|winSou.y|winWes.y|winNor.y",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.086/2.086, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001149/0.001149, allocations: 200 kB / 490.8 MB, free: 1.977 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.488/1.488, allocations: 221.4 MB / 0.7863 GB, free: 13.76 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.001048/0.001048, allocations: 91.23 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.674e-06, allocations: 0 / 1.072 GB, free: 182.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3076, allocations: 143 MB / 1.212 GB, free: 40.18 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8264/1.134, allocations: 157.4 MB / 1.365 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.134, allocations: 78.12 kB / 1.365 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.07414/1.209, allocations: 25.47 MB / 1.39 GB, free: 11.92 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.609e-05/1.209, allocations: 17.09 kB / 1.39 GB, free: 11.92 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.003133/1.212, allocations: 1.014 MB / 1.391 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.212, allocations: 9.625 kB / 1.391 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006506/1.213, allocations: 105.1 kB / 1.391 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/1.223, allocations: 4.165 MB / 1.395 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.516e-05/1.224, allocations: 30.75 kB / 1.395 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/1.224, allocations: 44.81 kB / 1.395 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001903/1.226, allocations: 0.5871 MB / 1.396 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/1.228, allocations: 0.6957 MB / 1.397 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/1.228, allocations: 0 / 1.397 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.887e-05/1.228, allocations: 8.625 kB / 1.397 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/1.228, allocations: 19.75 kB / 1.397 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005404/1.233, allocations: 2.503 MB / 1.399 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0038/1.237, allocations: 0.9585 MB / 1.4 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/1.238, allocations: 325 kB / 1.4 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.842e-05/1.238, allocations: 24.72 kB / 1.4 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/1.238, allocations: 38.28 kB / 1.4 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=80): time 2.625e-06/1.238, allocations: 0.75 kB / 1.4 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=80): time 0.001711/1.239, allocations: 0.6272 MB / 1.401 GB, free: 23.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/1.239, allocations: 144.8 kB / 1.401 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008492/1.24, allocations: 444.1 kB / 1.402 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.445e-05/1.24, allocations: 26.58 kB / 1.402 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/1.241, allocations: 278.6 kB / 1.402 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/1.241, allocations: 252.6 kB / 1.402 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/1.241, allocations: 0.7188 kB / 1.402 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002603/1.241, allocations: 377.1 kB / 1.403 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/1.242, allocations: 210.3 kB / 1.403 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/1.242, allocations: 293.6 kB / 1.403 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/1.243, allocations: 253.8 kB / 1.403 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.243, allocations: 1.375 kB / 1.403 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00142/1.244, allocations: 0.643 MB / 1.404 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.244, allocations: 4.844 kB / 1.404 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.244, allocations: 1.156 kB / 1.404 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/1.244, allocations: 7.812 kB / 1.404 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/1.245, allocations: 155.2 kB / 1.404 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.245, allocations: 4.188 kB / 1.404 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/1.246, allocations: 60.77 kB / 1.404 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.116e-05/1.246, allocations: 34.25 kB / 1.404 GB, free: 22.36 MB / 0.8386 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.0001814/1.246, allocations: 120.3 kB / 1.404 GB, free: 22.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/1.246, allocations: 67.88 kB / 1.404 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/1.249, allocations: 1.017 MB / 1.405 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.249, allocations: 16 kB / 1.405 GB, free: 21.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.249, allocations: 3.938 kB / 1.405 GB, free: 21.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/1.249, allocations: 7.969 kB / 1.405 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/1.25, allocations: 0.863 MB / 1.406 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.25, allocations: 3.938 kB / 1.406 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008549/1.251, allocations: 207.3 kB / 1.406 GB, free: 20.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/1.251, allocations: 8 kB / 1.406 GB, free: 20.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.181e-05/1.251, allocations: 14.3 kB / 1.406 GB, free: 20.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/1.251, allocations: 11.98 kB / 1.406 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.251, allocations: 0 / 1.406 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001334/1.252, allocations: 1.149 MB / 1.408 GB, free: 19.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/1.252, allocations: 285 kB / 1.408 GB, free: 19.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/1.253, allocations: 0 / 1.408 GB, free: 19.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/1.253, allocations: 11.98 kB / 1.408 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/1.253, allocations: 70.8 kB / 1.408 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/1.253, allocations: 39.73 kB / 1.408 GB, free: 19.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003745/1.254, allocations: 361.9 kB / 1.408 GB, free: 19.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009861/1.255, allocations: 242.4 kB / 1.409 GB, free: 18.85 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.0005756/1.255, allocations: 292.3 kB / 1.409 GB, free: 18.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008437/1.256, allocations: 0.6214 MB / 1.409 GB, free: 18.19 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.256, allocations: 0 / 1.409 GB, free: 18.19 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000437/1.257, allocations: 421.5 kB / 1.41 GB, free: 17.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/1.257, allocations: 29.44 kB / 1.41 GB, free: 17.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/1.259, allocations: 1.136 MB / 1.411 GB, free: 16.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008006/1.26, allocations: 1.138 MB / 1.412 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.26, allocations: 3.938 kB / 1.412 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of Templates: time 0.01714/1.277, allocations: 8.823 MB / 1.421 GB, free: 7.027 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches