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.001468/0.001468, allocations: 88.22 kB / 20.18 MB, free: 4.352 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.0009944/0.0009944, allocations: 169 kB / 23.5 MB, free: 1.039 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.9866/0.9866, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.242/2.242, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.054e-06/2.054e-06, allocations: 0 / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.843e-05/4.049e-05, allocations: 4.281 kB / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003229/0.003269, allocations: 1.581 MB / 0.8797 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.003441, allocations: 32.72 kB / 0.8798 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.693e-05/0.003518, allocations: 5.656 kB / 0.8798 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.003662, allocations: 12.52 kB / 0.8798 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.00371, allocations: 3.938 kB / 0.8798 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.003855, allocations: 27.91 kB / 0.8798 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.003971, allocations: 44.34 kB / 0.8799 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.004118, allocations: 21.89 kB / 0.8799 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.4e-05/0.004182, allocations: 35.89 kB / 0.8799 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.004255, allocations: 15.98 kB / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.004283, allocations: 4 kB / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.004294, allocations: 4 kB / 0.8799 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.004348, allocations: 21.2 kB / 0.88 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.004391, allocations: 23.91 kB / 0.88 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.004511, allocations: 43.77 kB / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.004514, allocations: 0 / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.343e-06/0.004516, allocations: 1.594 kB / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.004521, allocations: 0 / 0.88 GB, free: 4.797 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.0004387/0.00496, allocations: 396.4 kB / 0.8804 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.005006, allocations: 14.38 kB / 0.8804 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.005063, allocations: 12.83 kB / 0.8804 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.005237, allocations: 128.6 kB / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.005251, allocations: 4.375 kB / 0.8805 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.005268, allocations: 12.31 kB / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.005419, allocations: 96.47 kB / 0.8807 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.005429, allocations: 192 / 0.8807 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.005442, allocations: 6.562 kB / 0.8807 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.005454, allocations: 4.359 kB / 0.8807 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.901e-05/0.005513, allocations: 27.86 kB / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.006088, allocations: 0.7928 MB / 0.8815 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.00619, allocations: 265.4 kB / 0.8817 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.006233, allocations: 126.9 kB / 0.8818 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.006271, allocations: 123.2 kB / 0.882 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/0.006329, allocations: 164.5 kB / 0.8821 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.006331, allocations: 0 / 0.8821 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.393e-05/0.006405, allocations: 29.7 kB / 0.8821 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.006473, allocations: 170.6 kB / 0.8823 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.006609, allocations: 182.2 kB / 0.8825 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.006619, allocations: 25.7 kB / 0.8825 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.006699, allocations: 158.6 kB / 0.8827 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.006702, allocations: 0 / 0.8827 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.006739, allocations: 31.36 kB / 0.8827 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.006881, allocations: 496.1 kB / 0.8832 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.006897, allocations: 4 kB / 0.8832 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.006926, allocations: 35 kB / 0.8832 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.006975, allocations: 31.05 kB / 0.8832 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006977, allocations: 0 / 0.8832 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001211/0.007098, allocations: 45.64 kB / 0.8833 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.007113, allocations: 12.09 kB / 0.8833 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.00712, allocations: 0 / 0.8833 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.007134, allocations: 3.938 kB / 0.8833 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.007204, allocations: 11.92 kB / 0.8833 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.007212, allocations: 4 kB / 0.8833 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.00724, allocations: 7.891 kB / 0.8833 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.007245, allocations: 0 / 0.8833 GB, free: 1.18 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 0.0001128/0.007357, allocations: 279.8 kB / 0.8836 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.007421, allocations: 148.9 kB / 0.8837 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.007483, allocations: 152.3 kB / 0.8839 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.75e-05/0.00756, allocations: 276.1 kB / 0.8841 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.287e-05/0.007643, allocations: 268 kB / 0.8844 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.403e-05/0.007737, allocations: 268.1 kB / 0.8846 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.007993, allocations: 0.5076 MB / 0.8851 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.269e-05/0.008036, allocations: 148.8 kB / 0.8853 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.008078, allocations: 148.9 kB / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.623e-05/0.008154, allocations: 268 kB / 0.8857 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.867e-05/0.008233, allocations: 268.1 kB / 0.8859 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.647e-05/0.008309, allocations: 268.1 kB / 0.8862 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.852e-05/0.008388, allocations: 272 kB / 0.8864 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.008553, allocations: 459.9 kB / 0.8869 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.008605, allocations: 144.9 kB / 0.887 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/0.008692, allocations: 272.1 kB / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.008782, allocations: 152.8 kB / 0.8874 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.008865, allocations: 268.4 kB / 0.8877 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.008912, allocations: 152.8 kB / 0.8878 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.694e-05/0.008979, allocations: 139.2 kB / 0.888 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.008979, allocations: 0 / 0.888 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002305/0.009209, allocations: 11.95 kB / 0.888 GB, free: 12.2 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 0.0001255/0.009335, allocations: 214.4 kB / 0.8882 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.636e-05/0.009421, allocations: 27.7 kB / 0.8882 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.009423, allocations: 0 / 0.8882 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.009426, allocations: 3.938 kB / 0.8882 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.009854, allocations: 0.7067 MB / 0.8889 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.0102, allocations: 277.2 kB / 0.8892 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.383e-05/0.01025, allocations: 59.34 kB / 0.8892 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.163e-05/0.01026, allocations: 4 kB / 0.8892 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.01028, allocations: 8.5 kB / 0.8892 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/0.01028, allocations: 4.188 kB / 0.8892 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.002196/0.01248, allocations: 278 kB / 0.8895 GB, free: 10.57 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.729630544083193]