Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.973/1.973, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001071/0.001071, allocations: 178.4 kB / 490.8 MB, free: 1.953 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.429/1.429, allocations: 221.3 MB / 0.7863 GB, free: 13.75 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.0009152/0.0009153, allocations: 93.31 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.999e-06/1.002e-05, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3159, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9201/1.236, allocations: 154.7 MB / 1.363 GB, free: 17.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/1.236, allocations: 82.31 kB / 1.363 GB, free: 17.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02007/1.257, allocations: 6.374 MB / 1.369 GB, free: 16.87 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.59e-05/1.257, allocations: 12 kB / 1.369 GB, free: 16.87 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001062/1.258, allocations: 0.6271 MB / 1.37 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.258, allocations: 9.609 kB / 1.37 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/1.258, allocations: 52.72 kB / 1.37 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/1.258, allocations: 329.2 kB / 1.37 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/1.258, allocations: 10.56 kB / 1.37 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/1.258, allocations: 19.94 kB / 1.37 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004632/1.259, allocations: 219.7 kB / 1.37 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/1.259, allocations: 301.2 kB / 1.37 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.259, allocations: 4 kB / 1.37 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/1.26, allocations: 5.062 kB / 1.37 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/1.26, allocations: 8.156 kB / 1.37 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/1.262, allocations: 1.383 MB / 1.372 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/1.262, allocations: 235.5 kB / 1.372 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/1.262, allocations: 164.6 kB / 1.372 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/1.262, allocations: 3.109 kB / 1.372 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/1.263, allocations: 36.72 kB / 1.372 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 2.194e-06/1.263, allocations: 0 / 1.372 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.001148/1.264, allocations: 390.9 kB / 1.373 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/1.264, allocations: 54.19 kB / 1.373 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/1.264, allocations: 252.8 kB / 1.373 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/1.264, allocations: 26.7 kB / 1.373 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/1.264, allocations: 185 kB / 1.373 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/1.264, allocations: 88.41 kB / 1.373 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/1.264, allocations: 0 / 1.373 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.265, allocations: 345.7 kB / 1.374 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/1.265, allocations: 78.08 kB / 1.374 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/1.265, allocations: 140.7 kB / 1.374 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/1.265, allocations: 98.55 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.265, allocations: 0 / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0012/1.266, allocations: 422 kB / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002435/1.267, allocations: 0.5361 MB / 1.375 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.267, allocations: 0.8125 kB / 1.375 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000915/1.268, allocations: 168.7 kB / 1.375 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/1.268, allocations: 40.67 kB / 1.375 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/1.269, allocations: 0.84 MB / 1.376 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/1.269, allocations: 28.88 kB / 1.376 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/1.269, allocations: 7.031 kB / 1.376 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.269, allocations: 4.156 kB / 1.376 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001084/1.27, allocations: 363.1 kB / 1.376 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/1.27, allocations: 1.5 kB / 1.376 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007578/1.271, allocations: 180.9 kB / 1.376 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/1.271, allocations: 40.08 kB / 1.376 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/1.275, allocations: 2.236 MB / 1.379 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/1.276, allocations: 31.58 kB / 1.379 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/1.276, allocations: 8.156 kB / 1.379 GB, free: 27.75 MB / 0.8386 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.0002118/1.276, allocations: 111.8 kB / 1.379 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/1.276, allocations: 31.12 kB / 1.379 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/1.276, allocations: 42.14 kB / 1.379 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.276, allocations: 8.672 kB / 1.379 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.276, allocations: 0 / 1.379 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/1.276, allocations: 3.016 kB / 1.379 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/1.277, allocations: 362.7 kB / 1.379 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.277, allocations: 1.469 kB / 1.379 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/1.277, allocations: 28.45 kB / 1.379 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007015/1.278, allocations: 175.4 kB / 1.379 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/1.278, allocations: 0 / 1.379 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/1.281, allocations: 2.219 MB / 1.382 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/1.281, allocations: 0.6562 kB / 1.382 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001009/1.282, allocations: 0.4884 MB / 1.382 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/1.282, allocations: 132.2 kB / 1.382 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/1.282, allocations: 1.406 kB / 1.382 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/1.282, allocations: 18.34 kB / 1.382 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/1.282, allocations: 15.5 kB / 1.382 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/1.282, allocations: 10.17 kB / 1.382 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002278/1.283, allocations: 193.7 kB / 1.382 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007971/1.283, allocations: 196.7 kB / 1.383 GB, free: 25.73 MB / 0.8386 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.0002051/1.284, allocations: 102.1 kB / 1.383 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001157/1.285, allocations: 0.5028 MB / 1.383 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.285, allocations: 1.062 kB / 1.383 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000442/1.285, allocations: 257.6 kB / 1.383 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/1.286, allocations: 62.17 kB / 1.383 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/1.287, allocations: 492.4 kB / 1.384 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004948/1.288, allocations: 0.8283 MB / 1.385 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/1.288, allocations: 1.062 kB / 1.385 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.01547/1.303, allocations: 7.126 MB / 1.392 GB, free: 22.36 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches