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.001011/0.001011, allocations: 93.06 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.0009382/0.0009382, allocations: 173 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.9414/0.9414, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.097/2.097, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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 1.743e-06/1.743e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.21e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003347/0.003379, allocations: 1.598 MB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001577/0.003536, allocations: 28.52 kB / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.003594, allocations: 4.875 kB / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.003727, allocations: 13.02 kB / 0.8798 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.963e-05/0.003776, allocations: 14.05 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.003916, allocations: 15.98 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.004028, allocations: 49 kB / 0.8799 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.00416, allocations: 15.98 kB / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.697e-05/0.004217, allocations: 31.95 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.325e-05/0.004291, allocations: 25 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.004317, allocations: 4 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.004328, allocations: 4 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.004378, allocations: 20.58 kB / 0.88 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.004417, allocations: 19.92 kB / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.004534, allocations: 40.75 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.004537, allocations: 0 / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004538, allocations: 0 / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.004543, allocations: 0.75 kB / 0.88 GB, free: 4.461 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.0004539/0.004997, allocations: 393 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.005042, allocations: 12.03 kB / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.005094, allocations: 20.31 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.005258, allocations: 124.6 kB / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.005272, allocations: 8.312 kB / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.005287, allocations: 4.375 kB / 0.8805 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.005448, allocations: 97.22 kB / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.005457, allocations: 192 / 0.8806 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.005471, allocations: 8.375 kB / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.00548, allocations: 384 / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.269e-05/0.005543, allocations: 23.86 kB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.006145, allocations: 0.7977 MB / 0.8814 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.006246, allocations: 261.4 kB / 0.8817 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.006288, allocations: 127.9 kB / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.00632, allocations: 123.2 kB / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.006375, allocations: 161.2 kB / 0.8821 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.006377, allocations: 0 / 0.8821 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.788e-05/0.006444, allocations: 39.12 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.006509, allocations: 170.6 kB / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.006646, allocations: 185.8 kB / 0.8825 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.006658, allocations: 25.7 kB / 0.8825 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.006735, allocations: 158.7 kB / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.006738, allocations: 0 / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.006777, allocations: 19.38 kB / 0.8827 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.006916, allocations: 0.4922 MB / 0.8831 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.006931, allocations: 4 kB / 0.8831 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.00696, allocations: 31.06 kB / 0.8832 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.905e-05/0.007009, allocations: 35 kB / 0.8832 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007011, allocations: 0 / 0.8832 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001261/0.007137, allocations: 53.62 kB / 0.8833 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.007152, allocations: 8 kB / 0.8833 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.007158, allocations: 0 / 0.8833 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.007171, allocations: 0 / 0.8833 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.007235, allocations: 4 kB / 0.8833 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.007244, allocations: 7.938 kB / 0.8833 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.007273, allocations: 7.891 kB / 0.8833 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.007278, allocations: 0 / 0.8833 GB, free: 0.8516 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.0001069/0.007385, allocations: 279.8 kB / 0.8836 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.007451, allocations: 153 kB / 0.8837 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.007513, allocations: 156.4 kB / 0.8838 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.18e-05/0.007605, allocations: 272.1 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.217e-05/0.007677, allocations: 264.1 kB / 0.8844 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.4e-05/0.007751, allocations: 272 kB / 0.8846 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.007995, allocations: 0.5037 MB / 0.8851 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.415e-05/0.008039, allocations: 152.8 kB / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.008082, allocations: 152.9 kB / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.429e-05/0.008156, allocations: 264.1 kB / 0.8857 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/0.008235, allocations: 272 kB / 0.8859 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.412e-05/0.008309, allocations: 268.1 kB / 0.8862 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.716e-05/0.008386, allocations: 272 kB / 0.8864 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.008554, allocations: 451.9 kB / 0.8869 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.008609, allocations: 152.8 kB / 0.887 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.008697, allocations: 268.1 kB / 0.8873 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.008792, allocations: 148.8 kB / 0.8874 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.008873, allocations: 272.4 kB / 0.8877 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.008916, allocations: 148.9 kB / 0.8878 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.008988, allocations: 139.1 kB / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.008988, allocations: 0 / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002508/0.009239, allocations: 15.89 kB / 0.888 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 0.0001286/0.009368, allocations: 218.4 kB / 0.8882 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.914e-05/0.009467, allocations: 23.72 kB / 0.8882 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.009469, allocations: 0 / 0.8882 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.009471, allocations: 0 / 0.8882 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.009897, allocations: 0.7061 MB / 0.8889 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.01026, allocations: 269.3 kB / 0.8891 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.813e-05/0.01031, allocations: 63.34 kB / 0.8892 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.529e-05/0.01033, allocations: 4.188 kB / 0.8892 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.01035, allocations: 16.48 kB / 0.8892 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.01035, allocations: 0 / 0.8892 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of Templates: time 0.002071/0.01243, allocations: 277.1 kB / 0.8895 GB, free: 10.24 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.04045260604471]