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.001065/0.001065, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00157/0.002635, allocations: 440 kB / 10.41 MB, free: 284 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.001094/0.001094, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002558, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9057/0.9057, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07701/0.9827, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.278/2.278, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2134/2.492, allocations: 146 MB / 0.8176 GB, free: 3.812 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.463e-06/1.463e-06, allocations: 0 / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.095e-05, allocations: 8.5 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002/0.002021, allocations: 1.642 MB / 0.8205 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 7.128e-05/0.002092, allocations: 35.84 kB / 0.8206 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.002131, allocations: 4 kB / 0.8206 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.417e-05/0.002185, allocations: 15.88 kB / 0.8206 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.894e-05/0.002214, allocations: 3.938 kB / 0.8206 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.494e-05/0.002289, allocations: 19.97 kB / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.453e-05/0.002363, allocations: 43.84 kB / 0.8207 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.00245, allocations: 23.97 kB / 0.8207 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.075e-05/0.002511, allocations: 31.91 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.00257, allocations: 23.97 kB / 0.8207 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.002588, allocations: 4 kB / 0.8207 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.002599, allocations: 4 kB / 0.8207 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.002633, allocations: 19.88 kB / 0.8208 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.002656, allocations: 15.94 kB / 0.8208 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.14e-05/0.002737, allocations: 39.83 kB / 0.8208 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.002747, allocations: 0 / 0.8208 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002748, allocations: 0 / 0.8208 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.002757, allocations: 0 / 0.8208 GB, free: 0.543 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.0002914/0.003048, allocations: 280.3 kB / 0.8211 GB, free: 248 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.003077, allocations: 12.03 kB / 0.8211 GB, free: 236 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.003101, allocations: 4.938 kB / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.003203, allocations: 125.7 kB / 0.8212 GB, free: 80 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-06/0.003209, allocations: 8.375 kB / 0.8212 GB, free: 72 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.00322, allocations: 8.375 kB / 0.8212 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.776e-05/0.003318, allocations: 76.8 kB / 0.8213 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.003324, allocations: 4.188 kB / 0.8213 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.003331, allocations: 384 / 0.8213 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.003336, allocations: 384 / 0.8213 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.839e-05/0.003364, allocations: 23.86 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.003666, allocations: 0.5134 MB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.609e-05/0.003722, allocations: 169.1 kB / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.003742, allocations: 92.08 kB / 0.8221 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.003758, allocations: 75.28 kB / 0.8222 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.003787, allocations: 105.8 kB / 0.8223 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.003788, allocations: 0 / 0.8223 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.623e-05/0.003834, allocations: 29.7 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.003872, allocations: 126.7 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.003944, allocations: 134.7 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.003952, allocations: 25.7 kB / 0.8226 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.003992, allocations: 107.9 kB / 0.8227 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.003995, allocations: 0 / 0.8227 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.004018, allocations: 17.72 kB / 0.8227 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.004083, allocations: 326.8 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-06/0.00409, allocations: 11.86 kB / 0.823 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.565e-05/0.004105, allocations: 22.58 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.79e-05/0.004133, allocations: 22.58 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.004135, allocations: 0 / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.849e-05/0.004193, allocations: 45.56 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.004204, allocations: 8 kB / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.004208, allocations: 4.094 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.004217, allocations: 0 / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.373e-05/0.00426, allocations: 11.98 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.004263, allocations: 0 / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.004279, allocations: 0 / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.004283, allocations: 8 kB / 0.8231 GB, free: 13.98 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.908e-05/0.004342, allocations: 187.9 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.004374, allocations: 105 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.004406, allocations: 112.4 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.032e-05/0.004446, allocations: 180.3 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-05/0.004482, allocations: 184.2 kB / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/0.004517, allocations: 184.2 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.00464, allocations: 337.3 kB / 0.8243 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.004662, allocations: 101.1 kB / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/0.004683, allocations: 101 kB / 0.8245 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.004714, allocations: 120.9 kB / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.583e-05/0.00475, allocations: 176.3 kB / 0.8248 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.004785, allocations: 176.3 kB / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-05/0.004821, allocations: 188.2 kB / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.6e-05/0.004857, allocations: 180.3 kB / 0.8253 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.898e-05/0.004936, allocations: 311.7 kB / 0.8256 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.004977, allocations: 184.2 kB / 0.8258 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/0.005022, allocations: 101 kB / 0.8259 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.005198, allocations: 184.2 kB / 0.8261 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.005219, allocations: 104.9 kB / 0.8262 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.1e-05/0.00524, allocations: 20.84 kB / 0.8262 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00524, allocations: 0 / 0.8262 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001204/0.00536, allocations: 23.81 kB / 0.8262 GB, free: 10.61 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 7.975e-05/0.00544, allocations: 151.7 kB / 0.8264 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.744e-05/0.005488, allocations: 12.86 kB / 0.8264 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.005492, allocations: 4 kB / 0.8264 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.005495, allocations: 0 / 0.8264 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.005687, allocations: 477.1 kB / 0.8268 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.006077, allocations: 220 kB / 0.8271 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.153e-05/0.006109, allocations: 67.33 kB / 0.8271 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.07e-05/0.006119, allocations: 0 / 0.8271 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.006149, allocations: 51.38 kB / 0.8272 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.006149, allocations: 0 / 0.8272 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.001531/0.007681, allocations: 311.8 kB / 0.8275 GB, free: 9.293 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.680055424571037]