Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001799/0.001799, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002175/0.002175, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.453/1.453, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.848/2.848, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.502e-05, allocations: 3.625 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002959/0.002985, allocations: 1.544 MB / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001365/0.003121, allocations: 33.44 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.003164, allocations: 0 / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.003288, allocations: 15.86 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.488e-05/0.003323, allocations: 3.938 kB / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.003433, allocations: 20.97 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.003549, allocations: 47.83 kB / 0.8124 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.003667, allocations: 24.61 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.81e-05/0.003725, allocations: 27.92 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.003791, allocations: 17.38 kB / 0.8125 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.003812, allocations: 4 kB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.003823, allocations: 7.938 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.003875, allocations: 23.97 kB / 0.8125 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.003916, allocations: 17.08 kB / 0.8126 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.004039, allocations: 63.73 kB / 0.8126 GB, free: 236 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004042, allocations: 0 / 0.8126 GB, free: 236 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004042, allocations: 0.6875 kB / 0.8126 GB, free: 236 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.004046, allocations: 0 / 0.8126 GB, free: 236 kB / 0.7605 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.0004615/0.004508, allocations: 291 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.004542, allocations: 8.031 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.004597, allocations: 17.55 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.004774, allocations: 118.6 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.00479, allocations: 12.31 kB / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.004805, allocations: 4.375 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.004999, allocations: 106.8 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.005008, allocations: 192 / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.00502, allocations: 4.359 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.005025, allocations: 6.344 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.005126, allocations: 43.86 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006717/0.005798, allocations: 0.5619 MB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.005916, allocations: 165.1 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.005971, allocations: 85.12 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/0.006014, allocations: 79.22 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.117e-05/0.006086, allocations: 109.8 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.006086, allocations: 1.531 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.8e-05/0.006164, allocations: 33.66 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.006248, allocations: 126.7 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.006407, allocations: 125.7 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.006433, allocations: 26.67 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.006522, allocations: 111.9 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.006524, allocations: 0.75 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.006564, allocations: 21.7 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.006742, allocations: 319.7 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.006756, allocations: 0 / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.831e-05/0.006794, allocations: 26.52 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.199e-05/0.006846, allocations: 32.25 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006848, allocations: 3.938 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001407/0.006989, allocations: 54.91 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.007003, allocations: 4 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.00701, allocations: 4.625 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.007026, allocations: 1.062 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.866e-05/0.007085, allocations: 11.92 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.00709, allocations: 0 / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.007123, allocations: 8.469 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.007129, allocations: 5.328 kB / 0.8151 GB, free: 13.54 MB / 0.7761 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.0003494/0.007479, allocations: 189.1 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.00757, allocations: 108.9 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.555e-05/0.007645, allocations: 121.5 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.846e-05/0.007744, allocations: 176.3 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001048/0.007849, allocations: 184.2 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.84e-05/0.007947, allocations: 180.8 kB / 0.816 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.008249, allocations: 372.8 kB / 0.8163 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.297e-05/0.008312, allocations: 109.8 kB / 0.8164 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.008372, allocations: 105 kB / 0.8165 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.008474, allocations: 181.9 kB / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.008586, allocations: 188.3 kB / 0.8169 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001001/0.008686, allocations: 180.3 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.971e-05/0.008785, allocations: 180.2 kB / 0.8172 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.008986, allocations: 307.7 kB / 0.8175 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.009068, allocations: 114.3 kB / 0.8176 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.009184, allocations: 180.3 kB / 0.8178 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.009295, allocations: 105 kB / 0.8179 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.009397, allocations: 185 kB / 0.8181 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.17e-05/0.009458, allocations: 108.9 kB / 0.8182 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.159e-05/0.00954, allocations: 97.66 kB / 0.8183 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00954, allocations: 0 / 0.8183 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002666/0.009807, allocations: 4 kB / 0.8183 GB, free: 10.06 MB / 0.7761 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.0001581/0.009965, allocations: 178.5 kB / 0.8184 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.989e-05/0.01003, allocations: 12.81 kB / 0.8185 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01004, allocations: 7.344 kB / 0.8185 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.01004, allocations: 3.938 kB / 0.8185 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.01051, allocations: 460.4 kB / 0.8189 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.0109, allocations: 223.6 kB / 0.8191 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.108e-05/0.01099, allocations: 87.12 kB / 0.8192 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.215e-05/0.011, allocations: 0 / 0.8192 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.01104, allocations: 12.5 kB / 0.8192 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of SimCode: time 4e-07/0.01104, allocations: 0.625 kB / 0.8192 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of Templates: time 0.002517/0.01356, allocations: 281.1 kB / 0.8195 GB, free: 8.781 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.4000479619717225]