Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009632/0.0009632, allocations: 83.59 kB / 20.45 MB, free: 4.121 MB / 18.57 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.000989/0.000989, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9161/0.9161, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.767/1.767, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.979e-05, allocations: 3.812 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00275/0.00277, allocations: 1.584 MB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.002908, allocations: 35.84 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.002961, allocations: 1.406 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.003093, allocations: 11.86 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.66e-05/0.003139, allocations: 3.938 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.003262, allocations: 24.81 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.003366, allocations: 47.83 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.003499, allocations: 24.53 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.961e-05/0.003558, allocations: 31.91 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.003628, allocations: 20.64 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.003651, allocations: 5.25 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.003663, allocations: 4 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.003709, allocations: 19.91 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.003748, allocations: 19.92 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.003862, allocations: 45.33 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003864, allocations: 0 / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003865, allocations: 4 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.003869, allocations: 0 / 0.7889 GB, free: 10.61 MB / 0.7448 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.0003999/0.004269, allocations: 393.6 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.004309, allocations: 8.031 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.004355, allocations: 16.83 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.004511, allocations: 125.3 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.004528, allocations: 16.25 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.004545, allocations: 5.281 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.004696, allocations: 89.3 kB / 0.7895 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.004707, allocations: 1.781 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.004719, allocations: 384 / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.004728, allocations: 384 / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.005046, allocations: 31.86 kB / 0.7896 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.00555, allocations: 0.7939 MB / 0.7904 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.28e-05/0.005623, allocations: 265.4 kB / 0.7906 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.005653, allocations: 130 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.005678, allocations: 123.2 kB / 0.7909 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.005721, allocations: 164.6 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.005721, allocations: 0 / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.063e-05/0.005772, allocations: 29.7 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.005817, allocations: 174.6 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.00591, allocations: 177.9 kB / 0.7914 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.005918, allocations: 25.7 kB / 0.7914 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.005977, allocations: 159.4 kB / 0.7916 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.005979, allocations: 4 kB / 0.7916 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.006004, allocations: 21.02 kB / 0.7916 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.006108, allocations: 0.4922 MB / 0.7921 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.006116, allocations: 0 / 0.7921 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.997e-05/0.006136, allocations: 31 kB / 0.7921 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.476e-05/0.006171, allocations: 32.73 kB / 0.7921 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006172, allocations: 0 / 0.7921 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.955e-05/0.006262, allocations: 54.91 kB / 0.7922 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.006274, allocations: 4 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.006278, allocations: 0 / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.006291, allocations: 9.344 kB / 0.7922 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.765e-05/0.006339, allocations: 11.92 kB / 0.7922 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.006344, allocations: 0 / 0.7922 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.006361, allocations: 4.031 kB / 0.7922 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.006365, allocations: 4.594 kB / 0.7922 GB, free: 7.016 MB / 0.7448 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.309e-05/0.006438, allocations: 277.5 kB / 0.7925 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.006483, allocations: 156.8 kB / 0.7926 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.006526, allocations: 160.3 kB / 0.7928 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.068e-05/0.006577, allocations: 264.1 kB / 0.793 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.379e-05/0.006631, allocations: 272.9 kB / 0.7933 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.137e-05/0.006682, allocations: 268.1 kB / 0.7935 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.006846, allocations: 0.5037 MB / 0.794 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.201e-05/0.006878, allocations: 153.4 kB / 0.7942 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.006906, allocations: 145.4 kB / 0.7943 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.067e-05/0.006957, allocations: 268.5 kB / 0.7946 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.007011, allocations: 268.1 kB / 0.7948 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.105e-05/0.007062, allocations: 273.2 kB / 0.7951 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.091e-05/0.007113, allocations: 268 kB / 0.7953 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.007226, allocations: 447.9 kB / 0.7958 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.007265, allocations: 157.4 kB / 0.7959 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/0.007324, allocations: 269.5 kB / 0.7962 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.007377, allocations: 148.8 kB / 0.7963 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.007433, allocations: 272.4 kB / 0.7966 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.007464, allocations: 148.8 kB / 0.7967 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002921/0.007756, allocations: 140.7 kB / 0.7969 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007756, allocations: 4 kB / 0.7969 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001477/0.007904, allocations: 7.938 kB / 0.7969 GB, free: 2.051 MB / 0.7448 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 8.096e-05/0.007985, allocations: 219.3 kB / 0.7971 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.196e-05/0.008047, allocations: 20.52 kB / 0.7971 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.008048, allocations: 0.9375 kB / 0.7971 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.00805, allocations: 7.938 kB / 0.7971 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.008331, allocations: 0.7036 MB / 0.7978 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.008587, allocations: 281.1 kB / 0.7981 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.285e-05/0.00862, allocations: 59.34 kB / 0.7981 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.049e-05/0.008631, allocations: 0.875 kB / 0.7981 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.00865, allocations: 8.5 kB / 0.7981 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.00865, allocations: 6.25 kB / 0.7981 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of Templates: time 0.001623/0.01027, allocations: 294.2 kB / 0.7984 GB, free: 428 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.772519400343299]