Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009463/0.0009463, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009601/0.0009601, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9361/0.9361, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.058/2.058, allocations: 429.5 MB / 0.6733 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.373e-05, allocations: 12.72 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.0031/0.003134, allocations: 1.583 MB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001131/0.003247, allocations: 31.84 kB / 0.8798 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.003292, allocations: 4.594 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.003407, allocations: 12.81 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.508e-05/0.003443, allocations: 8.75 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.003562, allocations: 23.66 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.003646, allocations: 47.84 kB / 0.8798 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.003765, allocations: 15.98 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.003811, allocations: 35.89 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.003868, allocations: 19.97 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.003886, allocations: 4 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.003895, allocations: 4 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.00394, allocations: 19.92 kB / 0.8799 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.003969, allocations: 15.92 kB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.004071, allocations: 43.83 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.004074, allocations: 1.656 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/0.004076, allocations: 0 / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.00408, allocations: 0 / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003117/0.004391, allocations: 397.3 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.004425, allocations: 12.03 kB / 0.8804 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.004455, allocations: 8.891 kB / 0.8804 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.004567, allocations: 137.5 kB / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.004576, allocations: 4.375 kB / 0.8805 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.004587, allocations: 4.375 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.004691, allocations: 90.42 kB / 0.8806 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.004699, allocations: 192 / 0.8806 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.004709, allocations: 384 / 0.8806 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.004718, allocations: 13.42 kB / 0.8806 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.004759, allocations: 27.91 kB / 0.8807 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.005167, allocations: 0.7937 MB / 0.8814 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.418e-05/0.005242, allocations: 265.4 kB / 0.8817 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.005273, allocations: 128.5 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.005298, allocations: 123.2 kB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.005337, allocations: 156.6 kB / 0.8821 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.005337, allocations: 0 / 0.8821 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.544e-05/0.005423, allocations: 37.66 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.00547, allocations: 175 kB / 0.8823 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.005562, allocations: 183.7 kB / 0.8825 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.005568, allocations: 25.7 kB / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.005626, allocations: 158.7 kB / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.005628, allocations: 0 / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.005653, allocations: 19.38 kB / 0.8827 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.005752, allocations: 0.4897 MB / 0.8831 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-06/0.005761, allocations: 4 kB / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.005782, allocations: 35.05 kB / 0.8832 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.005818, allocations: 36.53 kB / 0.8832 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005819, allocations: 0 / 0.8832 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.002e-05/0.005899, allocations: 47.22 kB / 0.8833 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.005912, allocations: 11.94 kB / 0.8833 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005916, allocations: 0 / 0.8833 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.005929, allocations: 2.562 kB / 0.8833 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.688e-05/0.005976, allocations: 4 kB / 0.8833 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.005982, allocations: 4 kB / 0.8833 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.006, allocations: 11.89 kB / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-06/0.006003, allocations: 0 / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.541e-05/0.006078, allocations: 275.8 kB / 0.8835 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.006121, allocations: 154.8 kB / 0.8837 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.006165, allocations: 152.3 kB / 0.8838 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.168e-05/0.006227, allocations: 272 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.073e-05/0.006278, allocations: 268.1 kB / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.944e-05/0.006327, allocations: 264.1 kB / 0.8846 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.006483, allocations: 0.5122 MB / 0.8851 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.859e-05/0.006511, allocations: 144.9 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.00654, allocations: 152.9 kB / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.092e-05/0.006591, allocations: 268.1 kB / 0.8856 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.006721, allocations: 268.1 kB / 0.8859 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.137e-05/0.006772, allocations: 276 kB / 0.8862 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.815e-05/0.006821, allocations: 264.1 kB / 0.8864 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.007068, allocations: 451.8 kB / 0.8868 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.007102, allocations: 152.9 kB / 0.887 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.007159, allocations: 268 kB / 0.8873 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.007209, allocations: 148.9 kB / 0.8874 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.007266, allocations: 272.3 kB / 0.8877 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.007297, allocations: 148.9 kB / 0.8878 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.007339, allocations: 139.2 kB / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007339, allocations: 0 / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001425/0.007481, allocations: 19.88 kB / 0.8879 GB, free: 11.87 MB / 0.8542 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.166e-05/0.007573, allocations: 217.5 kB / 0.8882 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.093e-05/0.007614, allocations: 27.66 kB / 0.8882 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007615, allocations: 0 / 0.8882 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.007616, allocations: 0 / 0.8882 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.007892, allocations: 0.7061 MB / 0.8889 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.008158, allocations: 277.4 kB / 0.8891 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.331e-05/0.008192, allocations: 63.28 kB / 0.8892 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.939e-06/0.008202, allocations: 0 / 0.8892 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.008219, allocations: 12.5 kB / 0.8892 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of SimCode: time 3.51e-07/0.008219, allocations: 0 / 0.8892 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of Templates: time 0.001649/0.009868, allocations: 290 kB / 0.8895 GB, free: 10.23 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3312413352541625]