Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extCon.air.T|extCon.glaUns.T|extCon.conWinUns.solid.T|extCon.conWinUns.fluid.T|extCon.frame.T|extCon.radOut.TRad|extCon.shaRad.TSha|extCon.glaSha.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") translateModel(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extCon.air.T|extCon.glaUns.T|extCon.conWinUns.solid.T|extCon.conWinUns.fluid.T|extCon.frame.T|extCon.radOut.TRad|extCon.shaRad.TSha|extCon.glaSha.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") [: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.176/1.176, allocations: 249.4 MB / 256.7 MB, free: 0.6758 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 183.4 kB / 316 MB, free: 8.867 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.08/1.08, allocations: 205.1 MB / 0.5667 GB, free: 13.47 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008352/0.0008355, allocations: 88.98 kB / 0.671 GB, free: 51.56 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 8.046e-06/8.086e-06, allocations: 4 kB / 0.7807 GB, free: 9.953 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4524, allocations: 106.3 MB / 0.8845 GB, free: 89.16 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.6154, allocations: 140.9 MB / 1.022 GB, free: 4.75 MB / 0.6589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.6157, allocations: 79.89 kB / 1.022 GB, free: 4.672 MB / 0.6589 GB Notification: Performance of FrontEnd: time 0.05594/0.6716, allocations: 21.96 MB / 1.044 GB, free: 14.93 MB / 0.6902 GB Notification: Performance of Transformations before backend: time 3.637e-05/0.6717, allocations: 19.98 kB / 1.044 GB, free: 14.91 MB / 0.6902 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001267/0.673, allocations: 0.9301 MB / 1.045 GB, free: 13.93 MB / 0.6902 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.673, allocations: 8.031 kB / 1.045 GB, free: 13.92 MB / 0.6902 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008405/0.6739, allocations: 226.5 kB / 1.045 GB, free: 13.7 MB / 0.6902 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007234/0.6746, allocations: 0.5116 MB / 1.045 GB, free: 13.14 MB / 0.6902 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.6747, allocations: 12 kB / 1.045 GB, free: 13.13 MB / 0.6902 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.6747, allocations: 24 kB / 1.045 GB, free: 13.11 MB / 0.6902 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005291/0.6753, allocations: 290 kB / 1.046 GB, free: 12.83 MB / 0.6902 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.6758, allocations: 368.2 kB / 1.046 GB, free: 12.46 MB / 0.6902 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.6759, allocations: 0 / 1.046 GB, free: 12.46 MB / 0.6902 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.6759, allocations: 3.938 kB / 1.046 GB, free: 12.45 MB / 0.6902 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.6759, allocations: 8 kB / 1.046 GB, free: 12.45 MB / 0.6902 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.6782, allocations: 1.38 MB / 1.047 GB, free: 11.01 MB / 0.6902 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.6787, allocations: 227.1 kB / 1.048 GB, free: 10.78 MB / 0.6902 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.6788, allocations: 117.3 kB / 1.048 GB, free: 10.66 MB / 0.6902 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.6789, allocations: 12.17 kB / 1.048 GB, free: 10.65 MB / 0.6902 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.6789, allocations: 34.8 kB / 1.048 GB, free: 10.61 MB / 0.6902 GB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.6789, allocations: 0 / 1.048 GB, free: 10.61 MB / 0.6902 GB Notification: Performance of matching and sorting (n=28): time 0.0007614/0.6797, allocations: 349.9 kB / 1.048 GB, free: 10.26 MB / 0.6902 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.6798, allocations: 81.11 kB / 1.048 GB, free: 10.16 MB / 0.6902 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007152/0.6805, allocations: 0.6569 MB / 1.049 GB, free: 9.496 MB / 0.6902 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.6805, allocations: 28.23 kB / 1.049 GB, free: 9.465 MB / 0.6902 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.6807, allocations: 267.9 kB / 1.049 GB, free: 9.195 MB / 0.6902 GB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.6808, allocations: 90.56 kB / 1.049 GB, free: 9.105 MB / 0.6902 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.6808, allocations: 0 / 1.049 GB, free: 9.105 MB / 0.6902 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.6809, allocations: 318 kB / 1.049 GB, free: 8.789 MB / 0.6902 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.681, allocations: 80.56 kB / 1.049 GB, free: 8.707 MB / 0.6902 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.6812, allocations: 136.5 kB / 1.05 GB, free: 8.562 MB / 0.6902 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.6814, allocations: 98.47 kB / 1.05 GB, free: 8.469 MB / 0.6902 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6814, allocations: 0 / 1.05 GB, free: 8.469 MB / 0.6902 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007056/0.6821, allocations: 386.7 kB / 1.05 GB, free: 8.082 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.6822, allocations: 99.81 kB / 1.05 GB, free: 7.98 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6822, allocations: 4 kB / 1.05 GB, free: 7.977 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.6826, allocations: 80.8 kB / 1.05 GB, free: 7.895 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.6829, allocations: 75.89 kB / 1.05 GB, free: 7.82 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004405/0.6834, allocations: 0.6314 MB / 1.051 GB, free: 7.164 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005879/0.684, allocations: 77.56 kB / 1.051 GB, free: 7.09 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.684, allocations: 7.984 kB / 1.051 GB, free: 7.082 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/0.684, allocations: 8 kB / 1.051 GB, free: 7.074 MB / 0.6902 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006291/0.6847, allocations: 280.5 kB / 1.051 GB, free: 6.797 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/0.6847, allocations: 0 / 1.051 GB, free: 6.797 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003206/0.685, allocations: 76.8 kB / 1.051 GB, free: 6.719 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.6854, allocations: 75.95 kB / 1.051 GB, free: 6.645 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.6868, allocations: 1.557 MB / 1.053 GB, free: 4.98 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.6873, allocations: 59.77 kB / 1.053 GB, free: 4.922 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.6873, allocations: 4 kB / 1.053 GB, free: 4.918 MB / 0.6902 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (28): * Single equations (assignments): 27 * 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 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.6874, allocations: 112.9 kB / 1.053 GB, free: 4.801 MB / 0.6902 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/0.6875, allocations: 78.97 kB / 1.053 GB, free: 4.723 MB / 0.6902 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.6877, allocations: 89.12 kB / 1.053 GB, free: 4.633 MB / 0.6902 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.6877, allocations: 0 / 1.053 GB, free: 4.633 MB / 0.6902 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6877, allocations: 4 kB / 1.053 GB, free: 4.629 MB / 0.6902 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6878, allocations: 3.984 kB / 1.053 GB, free: 4.625 MB / 0.6902 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.6891, allocations: 0.9311 MB / 1.054 GB, free: 3.637 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6891, allocations: 0 / 1.054 GB, free: 3.637 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.6893, allocations: 47.91 kB / 1.054 GB, free: 3.59 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/0.6896, allocations: 84.92 kB / 1.054 GB, free: 3.504 MB / 0.6902 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.6896, allocations: 0 / 1.054 GB, free: 3.504 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.691, allocations: 1.566 MB / 1.056 GB, free: 1.828 MB / 0.6902 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.691, allocations: 2.062 kB / 1.056 GB, free: 1.828 MB / 0.6902 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006976/0.6917, allocations: 0.5175 MB / 1.056 GB, free: 1.254 MB / 0.6902 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.6919, allocations: 183.9 kB / 1.057 GB, free: 1.055 MB / 0.6902 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/0.692, allocations: 0 / 1.057 GB, free: 1.055 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.6924, allocations: 27.89 kB / 1.057 GB, free: 1.027 MB / 0.6902 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.6924, allocations: 19.97 kB / 1.057 GB, free: 1.008 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.6925, allocations: 12 kB / 1.057 GB, free: 0.9961 MB / 0.6902 GB Notification: Performance of sort global known variables: time 0.0005559/0.693, allocations: 0.5186 MB / 1.057 GB, free: 496 kB / 0.6902 GB Notification: Performance of remove unused functions: time 0.0006783/0.6937, allocations: 271.1 kB / 1.057 GB, free: 224 kB / 0.6902 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004595/0.6942, allocations: 359 kB / 1.058 GB, free: 15.86 MB / 0.7058 GB Notification: Performance of simCode: created initialization part: time 0.0007925/0.695, allocations: 0.4987 MB / 1.058 GB, free: 15.36 MB / 0.7058 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.695, allocations: 0 / 1.058 GB, free: 15.36 MB / 0.7058 GB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.6953, allocations: 221.6 kB / 1.058 GB, free: 15.13 MB / 0.7058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.6958, allocations: 93.86 kB / 1.058 GB, free: 15.04 MB / 0.7058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.6977, allocations: 1.046 MB / 1.06 GB, free: 13.95 MB / 0.7058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/0.6983, allocations: 1.086 MB / 1.061 GB, free: 12.84 MB / 0.7058 GB Notification: Performance of SimCode: time 2.61e-07/0.6983, allocations: 0 / 1.061 GB, free: 12.84 MB / 0.7058 GB Notification: Performance of Templates: time 0.01686/0.7152, allocations: 10.06 MB / 1.07 GB, free: 2.973 MB / 0.7058 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches