Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.BeamDepthInRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winEas.y|winSou.y|winWes.y|winNor.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.211/1.211, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.00101/0.00101, allocations: 188.4 kB / 316 MB, free: 3.531 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.029/1.029, allocations: 205.1 MB / 0.5667 GB, free: 15.69 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.000819/0.000819, allocations: 92.39 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.08e-06/5.1e-06, allocations: 0 / 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.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4428/0.5893, allocations: 140.4 MB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.5896, allocations: 81.2 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.06955/0.6592, allocations: 25.49 MB / 1.047 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.687e-05/0.6592, allocations: 16 kB / 1.047 GB, free: 9.574 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002321/0.6615, allocations: 1.113 MB / 1.048 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.6616, allocations: 8.031 kB / 1.048 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.6618, allocations: 110.7 kB / 1.048 GB, free: 8.359 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01785/0.6796, allocations: 9.444 MB / 1.057 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007325/0.6804, allocations: 418.2 kB / 1.058 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.6805, allocations: 48 kB / 1.058 GB, free: 0.6602 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0011/0.6816, allocations: 0.577 MB / 1.058 GB, free: 328 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.6827, allocations: 0.683 MB / 1.059 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.6827, allocations: 0 / 1.059 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/0.6828, allocations: 7.922 kB / 1.059 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.6828, allocations: 20 kB / 1.059 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004235/0.6871, allocations: 2.478 MB / 1.061 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.6904, allocations: 0.996 MB / 1.062 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.6908, allocations: 334 kB / 1.063 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.375e-05/0.6909, allocations: 27.39 kB / 1.063 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.691, allocations: 52.84 kB / 1.063 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 2.044e-06/0.691, allocations: 0 / 1.063 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.001158/0.6921, allocations: 0.6402 MB / 1.063 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.6922, allocations: 144.4 kB / 1.063 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.6927, allocations: 477.6 kB / 1.064 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.6928, allocations: 25.7 kB / 1.064 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.6929, allocations: 262.2 kB / 1.064 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.6931, allocations: 248.8 kB / 1.064 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.6931, allocations: 0 / 1.064 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6932, allocations: 379.4 kB / 1.065 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.6936, allocations: 224 kB / 1.065 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.694, allocations: 301.2 kB / 1.065 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.6944, allocations: 243.7 kB / 1.065 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6944, allocations: 3.984 kB / 1.065 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009629/0.6953, allocations: 0.6485 MB / 1.066 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.6954, allocations: 4 kB / 1.066 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6954, allocations: 0 / 1.066 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.6954, allocations: 8 kB / 1.066 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.6966, allocations: 206.1 kB / 1.066 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.6966, allocations: 7.938 kB / 1.066 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008734/0.6975, allocations: 83.47 kB / 1.066 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.6976, allocations: 38.14 kB / 1.066 GB, free: 9.852 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (80): * Single equations (assignments): 80 * 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.0001407/0.6977, allocations: 112.9 kB / 1.067 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.6979, allocations: 71.06 kB / 1.067 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.6998, allocations: 1.061 MB / 1.068 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.6998, allocations: 16 kB / 1.068 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6998, allocations: 3.984 kB / 1.068 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.6998, allocations: 7.984 kB / 1.068 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.7009, allocations: 0.9193 MB / 1.069 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.7009, allocations: 4 kB / 1.069 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.7022, allocations: 259 kB / 1.069 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.7022, allocations: 4 kB / 1.069 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/0.7023, allocations: 23.84 kB / 1.069 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.7023, allocations: 8 kB / 1.069 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7023, allocations: 0 / 1.069 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001261/0.7036, allocations: 1.171 MB / 1.07 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003571/0.704, allocations: 300.7 kB / 1.07 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.7041, allocations: 4 kB / 1.07 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009584/0.705, allocations: 59.92 kB / 1.07 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.7052, allocations: 75.19 kB / 1.07 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.333e-05/0.7053, allocations: 39.53 kB / 1.07 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004348/0.7057, allocations: 417.9 kB / 1.071 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009207/0.7066, allocations: 295 kB / 1.071 GB, free: 5.953 MB / 0.6823 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.0007472/0.7074, allocations: 415.2 kB / 1.072 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008903/0.7083, allocations: 0.648 MB / 1.072 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7083, allocations: 0 / 1.072 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005509/0.7089, allocations: 454 kB / 1.073 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.7093, allocations: 35.12 kB / 1.073 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.7115, allocations: 1.17 MB / 1.074 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008282/0.7123, allocations: 1.154 MB / 1.075 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of SimCode: time 3e-07/0.7123, allocations: 3.938 kB / 1.075 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of Templates: time 0.01677/0.7291, allocations: 10.55 MB / 1.085 GB, free: 8.168 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches