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.0007682/0.0007682, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009959/0.001764, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007194/0.0007194, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000932/0.001651, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9271/0.9271, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08209/1.009, allocations: 53.65 MB / 243.2 MB, free: 15.61 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.287/2.287, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.202/2.489, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.112e-06/1.112e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.526e-06/9.638e-06, allocations: 6.312 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001704/0.001714, allocations: 1.642 MB / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 6.355e-05/0.001778, allocations: 27.86 kB / 0.8199 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.001819, allocations: 4 kB / 0.8199 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.932e-05/0.001869, allocations: 7.875 kB / 0.8199 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.854e-05/0.001897, allocations: 7.922 kB / 0.82 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.63e-05/0.001974, allocations: 19.97 kB / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.262e-05/0.002046, allocations: 47.84 kB / 0.82 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.002132, allocations: 19.98 kB / 0.82 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.00219, allocations: 43.83 kB / 0.8201 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.002238, allocations: 23.97 kB / 0.8201 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.002258, allocations: 7.938 kB / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.002267, allocations: 4 kB / 0.8201 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.002297, allocations: 12 kB / 0.8201 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.002323, allocations: 11.94 kB / 0.8201 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.474e-05/0.002397, allocations: 39.83 kB / 0.8202 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.002411, allocations: 4 kB / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002411, allocations: 0 / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.002425, allocations: 3.938 kB / 0.8202 GB, free: 0.957 MB / 0.7917 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.0002934/0.002719, allocations: 276.4 kB / 0.8204 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.002747, allocations: 8.625 kB / 0.8205 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.00278, allocations: 20.92 kB / 0.8205 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.002883, allocations: 121.7 kB / 0.8206 GB, free: 500 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.002891, allocations: 4.375 kB / 0.8206 GB, free: 496 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.0029, allocations: 8.375 kB / 0.8206 GB, free: 488 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.515e-05/0.002985, allocations: 79.61 kB / 0.8207 GB, free: 396 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.002992, allocations: 192 / 0.8207 GB, free: 396 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.002998, allocations: 384 / 0.8207 GB, free: 396 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.003005, allocations: 8.359 kB / 0.8207 GB, free: 388 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.69e-05/0.003032, allocations: 19.88 kB / 0.8207 GB, free: 368 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.003325, allocations: 0.5096 MB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.003608, allocations: 177.1 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.003627, allocations: 84.14 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.003642, allocations: 75.28 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.003674, allocations: 113.9 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.003675, allocations: 0 / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.824e-05/0.003723, allocations: 25.7 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.003763, allocations: 126.7 kB / 0.8218 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.003832, allocations: 126.6 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.003839, allocations: 33.64 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.003878, allocations: 115.8 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-06/0.003883, allocations: 4 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.003902, allocations: 9.719 kB / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.003964, allocations: 322.8 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-06/0.00397, allocations: 3.984 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.003984, allocations: 18.58 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.383e-05/0.004008, allocations: 18.58 kB / 0.8224 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.00401, allocations: 11.94 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.647e-05/0.004066, allocations: 45.62 kB / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.004077, allocations: 8 kB / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.00408, allocations: 0 / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.004087, allocations: 0 / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.02e-05/0.004128, allocations: 4 kB / 0.8225 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.004131, allocations: 7.984 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.477e-05/0.004145, allocations: 0 / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-06/0.004148, allocations: 0 / 0.8225 GB, free: 14.41 MB / 0.8073 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 5.509e-05/0.004203, allocations: 196 kB / 0.8227 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.004235, allocations: 113 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.004265, allocations: 104.5 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/0.004299, allocations: 188.2 kB / 0.823 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.299e-05/0.004332, allocations: 180.2 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.27e-05/0.004364, allocations: 176.3 kB / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.004478, allocations: 333.3 kB / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.004499, allocations: 109 kB / 0.8238 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.004519, allocations: 101 kB / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.004548, allocations: 112.9 kB / 0.824 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.173e-05/0.004579, allocations: 176.3 kB / 0.8242 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.004616, allocations: 188.2 kB / 0.8244 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.882e-05/0.004655, allocations: 188.2 kB / 0.8245 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.399e-05/0.004689, allocations: 176.3 kB / 0.8247 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.615e-05/0.004765, allocations: 307.7 kB / 0.825 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.004805, allocations: 184.2 kB / 0.8252 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.004849, allocations: 101 kB / 0.8253 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.004888, allocations: 192.3 kB / 0.8255 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.00491, allocations: 108.9 kB / 0.8256 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.502e-05/0.004925, allocations: 17.23 kB / 0.8256 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004925, allocations: 0 / 0.8256 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001212/0.005046, allocations: 19.89 kB / 0.8256 GB, free: 11.04 MB / 0.8073 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 6.841e-05/0.005114, allocations: 155.7 kB / 0.8257 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.462e-05/0.005159, allocations: 12.8 kB / 0.8258 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.005162, allocations: 0 / 0.8258 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.005163, allocations: 4 kB / 0.8258 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.005337, allocations: 467.6 kB / 0.8262 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.005724, allocations: 223.9 kB / 0.8264 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.889e-05/0.005753, allocations: 63.53 kB / 0.8265 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.05e-05/0.005764, allocations: 4 kB / 0.8265 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.005789, allocations: 51.38 kB / 0.8265 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.005789, allocations: 0 / 0.8265 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of Templates: time 0.001437/0.007226, allocations: 294.4 kB / 0.8268 GB, free: 9.727 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.ref.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.834952669218183]