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.001656/0.001656, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001673/0.001673, allocations: 216.8 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 3.008/3.008, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 70.12 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3557, allocations: 180.2 MB / 1.354 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002707/0.3584, allocations: 1.576 MB / 1.356 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001089/0.3585, allocations: 27.86 kB / 1.356 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.3586, allocations: 4 kB / 1.356 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.3587, allocations: 11.86 kB / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.481e-05/0.3587, allocations: 3.938 kB / 1.356 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.3588, allocations: 27.97 kB / 1.356 GB, free: 6.336 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.359, allocations: 47.84 kB / 1.356 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3591, allocations: 31.84 kB / 1.356 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.3591, allocations: 19.92 kB / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.3592, allocations: 31.84 kB / 1.356 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3592, allocations: 4 kB / 1.356 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.3592, allocations: 4 kB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.3593, allocations: 23.86 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.3593, allocations: 23.88 kB / 1.356 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.3594, allocations: 59.67 kB / 1.356 GB, free: 6.094 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3594, allocations: 0 / 1.356 GB, free: 6.094 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3594, allocations: 4 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3594, allocations: 0 / 1.356 GB, free: 6.09 MB / 1.045 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.0003848/0.3598, allocations: 290.2 kB / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3598, allocations: 8.031 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.3599, allocations: 8.891 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.3601, allocations: 130.4 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3601, allocations: 4.375 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.3601, allocations: 4.375 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3602, allocations: 100.8 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3603, allocations: 4.188 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3603, allocations: 3.938 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3603, allocations: 0 / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.89e-05/0.3604, allocations: 47.91 kB / 1.357 GB, free: 5.43 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.3609, allocations: 0.612 MB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.01e-05/0.361, allocations: 165.1 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.3611, allocations: 88.08 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.3611, allocations: 75.28 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.3612, allocations: 113.8 kB / 1.358 GB, free: 4.309 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3612, allocations: 0 / 1.358 GB, free: 4.309 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.654e-05/0.3612, allocations: 41.58 kB / 1.358 GB, free: 4.262 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.3613, allocations: 126.7 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3615, allocations: 173.1 kB / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.3615, allocations: 25.7 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.3616, allocations: 108 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.3616, allocations: 0 / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.3616, allocations: 21.72 kB / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3617, allocations: 314.8 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.3618, allocations: 11.92 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.3618, allocations: 26.56 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.456e-05/0.3618, allocations: 26.61 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3618, allocations: 4 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001216/0.362, allocations: 61.58 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.362, allocations: 4 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.362, allocations: 3.938 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.362, allocations: 3.938 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.362, allocations: 11.94 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.362, allocations: 0 / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.3621, allocations: 12.05 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-06/0.3621, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.045 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.0001133/0.3622, allocations: 197.7 kB / 1.359 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.3623, allocations: 108.9 kB / 1.359 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.3623, allocations: 116.7 kB / 1.359 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.339e-05/0.3624, allocations: 184.2 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.772e-05/0.3625, allocations: 188.2 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.958e-05/0.3625, allocations: 176.3 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.3628, allocations: 392.3 kB / 1.36 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.545e-05/0.3629, allocations: 109.5 kB / 1.36 GB, free: 1.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.3629, allocations: 101 kB / 1.36 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.19e-05/0.363, allocations: 180.2 kB / 1.36 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.371e-05/0.363, allocations: 188.2 kB / 1.36 GB, free: 1.246 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.332e-05/0.3631, allocations: 180.5 kB / 1.36 GB, free: 1.062 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.597e-05/0.3632, allocations: 184.2 kB / 1.361 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.3633, allocations: 311.8 kB / 1.361 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.3634, allocations: 116.9 kB / 1.361 GB, free: 436 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.3635, allocations: 188.2 kB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.3636, allocations: 104.9 kB / 1.361 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.3637, allocations: 180.3 kB / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.3637, allocations: 108.9 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001013/0.3638, allocations: 128.9 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3638, allocations: 4 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002117/0.364, allocations: 8 kB / 1.362 GB, free: 15.69 MB / 1.061 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.0001338/0.3642, allocations: 170.5 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.04e-05/0.3642, allocations: 8 kB / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3642, allocations: 0 / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.3642, allocations: 3.938 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.3646, allocations: 467.8 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.365, allocations: 255.2 kB / 1.363 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3653, allocations: 0.6924 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.3653, allocations: 11.44 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3653, allocations: 0 / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of Templates: time 0.002422/0.3677, allocations: 0.8163 MB / 1.364 GB, free: 13.21 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.56669115202385]