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.0008933/0.0008933, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009678/0.0009678, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9261/0.9261, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.036/2.036, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.923e-06/1.923e-06, allocations: 0.875 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.556e-05, allocations: 6.844 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002997/0.003023, allocations: 1.584 MB / 0.8809 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001381/0.003161, allocations: 33 kB / 0.881 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.003216, allocations: 4.688 kB / 0.881 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.003338, allocations: 7.922 kB / 0.881 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.655e-05/0.003384, allocations: 9.719 kB / 0.881 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.003502, allocations: 24.52 kB / 0.881 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.652e-05/0.003598, allocations: 47.84 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.003727, allocations: 20.64 kB / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.003784, allocations: 28.64 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.003849, allocations: 27.95 kB / 0.8811 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.003868, allocations: 5.375 kB / 0.8811 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.003879, allocations: 4 kB / 0.8811 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.003925, allocations: 15.92 kB / 0.8812 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.003956, allocations: 19.92 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.004057, allocations: 40.86 kB / 0.8812 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004059, allocations: 0 / 0.8812 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00406, allocations: 4 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.004063, allocations: 1.062 kB / 0.8812 GB, free: 4.145 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.0003548/0.004418, allocations: 392.4 kB / 0.8816 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.004452, allocations: 9.125 kB / 0.8816 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.004489, allocations: 16.83 kB / 0.8816 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.004625, allocations: 128.5 kB / 0.8817 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.004636, allocations: 5.438 kB / 0.8817 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.004651, allocations: 12.31 kB / 0.8818 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.004773, allocations: 92.05 kB / 0.8818 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.00478, allocations: 0.9688 kB / 0.8818 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.004789, allocations: 384 / 0.8818 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.004796, allocations: 6.031 kB / 0.8818 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.006e-05/0.004836, allocations: 15.92 kB / 0.8819 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.005313, allocations: 0.7738 MB / 0.8826 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.005413, allocations: 269.9 kB / 0.8829 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.005452, allocations: 126.9 kB / 0.883 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.005485, allocations: 124.9 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/0.005541, allocations: 156.6 kB / 0.8833 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.005542, allocations: 0 / 0.8833 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.263e-05/0.005605, allocations: 37.59 kB / 0.8833 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.005667, allocations: 175.8 kB / 0.8835 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.005779, allocations: 185.8 kB / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.005789, allocations: 25.7 kB / 0.8837 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.005864, allocations: 159.7 kB / 0.8838 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.005866, allocations: 0 / 0.8838 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.0059, allocations: 19.38 kB / 0.8838 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.006038, allocations: 0.4899 MB / 0.8843 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.006046, allocations: 0 / 0.8843 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.006074, allocations: 39.02 kB / 0.8844 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.006117, allocations: 37.94 kB / 0.8844 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006119, allocations: 0 / 0.8844 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.263e-05/0.006212, allocations: 41.64 kB / 0.8844 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.006225, allocations: 10.19 kB / 0.8844 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006229, allocations: 0 / 0.8844 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.006239, allocations: 5.578 kB / 0.8844 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.878e-05/0.006288, allocations: 4 kB / 0.8845 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.00629, allocations: 0 / 0.8845 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.006319, allocations: 11.95 kB / 0.8845 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-06/0.006323, allocations: 0 / 0.8845 GB, free: 0.5859 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.0001006/0.006423, allocations: 284.3 kB / 0.8847 GB, free: 304 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.006486, allocations: 153.7 kB / 0.8849 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/0.006553, allocations: 156.3 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.854e-05/0.006621, allocations: 268.7 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.527e-05/0.006686, allocations: 272.1 kB / 0.8855 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.71e-05/0.006753, allocations: 272.1 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.006974, allocations: 492.4 kB / 0.8863 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-05/0.007011, allocations: 144.9 kB / 0.8864 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.00705, allocations: 152.8 kB / 0.8866 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-05/0.00712, allocations: 268.1 kB / 0.8868 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-05/0.007188, allocations: 268 kB / 0.8871 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.648e-05/0.007254, allocations: 272.1 kB / 0.8873 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.515e-05/0.007319, allocations: 264.1 kB / 0.8876 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.007468, allocations: 455.8 kB / 0.888 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.007515, allocations: 148.8 kB / 0.8882 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.00759, allocations: 272.1 kB / 0.8884 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.007679, allocations: 152.9 kB / 0.8886 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.007754, allocations: 276.3 kB / 0.8888 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.007793, allocations: 148.9 kB / 0.889 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.926e-05/0.007852, allocations: 131.2 kB / 0.8891 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.007852, allocations: 0 / 0.8891 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002554/0.008108, allocations: 15.89 kB / 0.8891 GB, free: 11.64 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.0001131/0.008221, allocations: 210.4 kB / 0.8893 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.639e-05/0.008297, allocations: 19.66 kB / 0.8893 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.008299, allocations: 4.188 kB / 0.8893 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.008301, allocations: 4 kB / 0.8893 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.008711, allocations: 0.7061 MB / 0.89 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.009015, allocations: 279.6 kB / 0.8903 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.009057, allocations: 59.34 kB / 0.8903 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.422e-05/0.009071, allocations: 0 / 0.8903 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.009108, allocations: 70.2 kB / 0.8904 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/0.009109, allocations: 0 / 0.8904 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of Templates: time 0.002135/0.01124, allocations: 309.9 kB / 0.8907 GB, free: 9.926 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: 4.906392015982419]