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.001694/0.001694, allocations: 115.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.002098/0.002098, allocations: 192.2 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.448/1.448, 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.769/2.769, allocations: 476.7 MB / 0.7645 GB, free: 10.11 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.001987/0.001987, allocations: 63.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8365/0.8385, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002887/0.8413, allocations: 1.557 MB / 1.276 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001136/0.8415, allocations: 27.91 kB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.8415, allocations: 3.938 kB / 1.276 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.8416, allocations: 11.92 kB / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.8417, allocations: 3.938 kB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.8418, allocations: 23.97 kB / 1.276 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.8419, allocations: 47.78 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.842, allocations: 27.97 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.713e-05/0.842, allocations: 23.86 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.8421, allocations: 23.92 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.8421, allocations: 8 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.8421, allocations: 4 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.8422, allocations: 19.92 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.8422, allocations: 31.8 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.8423, allocations: 62.41 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8423, allocations: 0 / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8423, allocations: 0 / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.8423, allocations: 0 / 1.276 GB, free: 2.691 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.0004356/0.8428, allocations: 367.2 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.8428, allocations: 12.03 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.8428, allocations: 8.891 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.843, allocations: 180.3 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.843, allocations: 8.375 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.8431, allocations: 4.375 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.8432, allocations: 104.7 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.8432, allocations: 192 / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.8433, allocations: 7.875 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.8433, allocations: 11.98 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.944e-05/0.8433, allocations: 39.97 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.844, allocations: 0.6363 MB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.8441, allocations: 177.1 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.8441, allocations: 80.14 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.8441, allocations: 79.28 kB / 1.278 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.8442, allocations: 105.8 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.8442, allocations: 0 / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.51e-05/0.8443, allocations: 37.59 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.8444, allocations: 134.6 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.8445, allocations: 166.4 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.8446, allocations: 25.7 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.8446, allocations: 104.1 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-06/0.8446, allocations: 4 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.8447, allocations: 9.719 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.8448, allocations: 322.8 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.8448, allocations: 4 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.8448, allocations: 22.58 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.652e-05/0.8449, allocations: 34.5 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8449, allocations: 0 / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001236/0.845, allocations: 57.53 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.845, allocations: 8.094 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.845, allocations: 4 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.8451, allocations: 7.875 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.8451, allocations: 7.984 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8451, allocations: 0 / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.8452, allocations: 11.89 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.8452, allocations: 0 / 1.279 GB, free: 15.68 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.0001132/0.8453, allocations: 193.1 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/0.8454, allocations: 116.9 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.06e-05/0.8454, allocations: 122.4 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.898e-05/0.8455, allocations: 176.3 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.682e-05/0.8456, allocations: 180.2 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-05/0.8457, allocations: 184.3 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.8459, allocations: 433.1 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.415e-05/0.846, allocations: 101 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.846, allocations: 105 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-05/0.8461, allocations: 180.2 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.481e-05/0.8462, allocations: 184.2 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.652e-05/0.8463, allocations: 180.2 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.322e-05/0.8463, allocations: 180.3 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.8465, allocations: 316 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.8466, allocations: 186 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.8467, allocations: 196.2 kB / 1.281 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.8468, allocations: 101 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.924e-05/0.8469, allocations: 184.2 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.847, allocations: 105 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001096/0.8471, allocations: 129.9 kB / 1.282 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8471, allocations: 0 / 1.282 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002308/0.8473, allocations: 8 kB / 1.282 GB, free: 11.98 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.0001464/0.8474, allocations: 175 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.338e-05/0.8475, allocations: 19.94 kB / 1.282 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8475, allocations: 0 / 1.282 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.8475, allocations: 0 / 1.282 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.8479, allocations: 467.6 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.8483, allocations: 237.3 kB / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.8486, allocations: 0.7001 MB / 1.283 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.8486, allocations: 7.984 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.8487, allocations: 11.44 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.8487, allocations: 0 / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of Templates: time 0.002766/0.8514, allocations: 440.5 kB / 1.284 GB, free: 9.887 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 cvode -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.52976736286655]