Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 193.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.734/2.734, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.6771, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002898/0.68, allocations: 1.565 MB / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001175/0.6801, allocations: 31.91 kB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.6801, allocations: 3.938 kB / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.6802, allocations: 7.938 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.522e-05/0.6803, allocations: 7.922 kB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.34e-05/0.6804, allocations: 19.98 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.6805, allocations: 55.77 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.6806, allocations: 19.98 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.6806, allocations: 19.92 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.6807, allocations: 31.91 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.6807, allocations: 4 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.6807, allocations: 4 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.6808, allocations: 19.92 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.6808, allocations: 31.8 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.6809, allocations: 58.42 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6809, allocations: 0 / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6809, allocations: 0 / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.6809, allocations: 4 kB / 1.276 GB, free: 2.648 MB / 0.9669 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.000418/0.6813, allocations: 367.2 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.6814, allocations: 8.031 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.6814, allocations: 8.891 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.6816, allocations: 188.3 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.6816, allocations: 12.38 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.6816, allocations: 4.375 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.6818, allocations: 96.75 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.6818, allocations: 4.125 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.6818, allocations: 7.938 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6818, allocations: 3.984 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.917e-05/0.6819, allocations: 39.98 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.6825, allocations: 0.6402 MB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.95e-05/0.6826, allocations: 169.1 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.6827, allocations: 80.14 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.6827, allocations: 91.27 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.6828, allocations: 105.8 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6828, allocations: 0 / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.931e-05/0.6829, allocations: 37.59 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.6829, allocations: 130.6 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.6831, allocations: 170.4 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.6831, allocations: 29.7 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.6832, allocations: 104.1 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.6832, allocations: 0 / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.6832, allocations: 13.72 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6834, allocations: 322.8 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.6834, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.6834, allocations: 18.58 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.6835, allocations: 34.52 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6835, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001277/0.6836, allocations: 57.58 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6836, allocations: 5.719 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6836, allocations: 7.938 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6836, allocations: 7.938 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.419e-05/0.6837, allocations: 8.094 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.6837, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.075e-05/0.6837, allocations: 11.89 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-06/0.6837, allocations: 0 / 1.279 GB, free: 15.63 MB / 0.9825 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.0001115/0.6838, allocations: 193.1 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.6839, allocations: 112.9 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.001e-05/0.684, allocations: 122.4 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.987e-05/0.684, allocations: 180.3 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.577e-05/0.6841, allocations: 184.2 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.367e-05/0.6842, allocations: 180.3 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.6845, allocations: 429.1 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.29e-05/0.6845, allocations: 105 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.6845, allocations: 101 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.141e-05/0.6846, allocations: 184.2 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.606e-05/0.6847, allocations: 184.2 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.397e-05/0.6848, allocations: 184.2 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.858e-05/0.6848, allocations: 176.3 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.685, allocations: 316 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.846e-05/0.6851, allocations: 190 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-05/0.6852, allocations: 188.2 kB / 1.281 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.6853, allocations: 105 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.6854, allocations: 184.2 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.6854, allocations: 105 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001124/0.6855, allocations: 129.9 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.6855, allocations: 0 / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002357/0.6857, allocations: 8 kB / 1.282 GB, free: 11.93 MB / 0.9825 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.0001543/0.6859, allocations: 171.2 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.247e-05/0.686, allocations: 11.94 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.686, allocations: 3.938 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.686, allocations: 8.188 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.6864, allocations: 463.7 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.6867, allocations: 237.1 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.687, allocations: 0.6963 MB / 1.283 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.716e-05/0.6871, allocations: 8 kB / 1.283 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.6871, allocations: 11.38 kB / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.6871, allocations: 4 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.002636/0.6897, allocations: 452.4 kB / 1.284 GB, free: 9.832 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.119633823167533]