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.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.001607/0.001607, allocations: 110.5 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.002007/0.002007, allocations: 216.7 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.692/1.692, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.905/2.905, allocations: 476.7 MB / 0.7714 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002065/0.002065, allocations: 62.98 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4243, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003277/0.4276, allocations: 1.578 MB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001283/0.4277, allocations: 35.78 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.4278, allocations: 4 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.4279, allocations: 11.86 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.773e-05/0.428, allocations: 7.875 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.4281, allocations: 15.98 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.4282, allocations: 43.91 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.4283, allocations: 23.92 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.695e-05/0.4284, allocations: 23.92 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.4285, allocations: 43.77 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.4285, allocations: 4 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.4285, allocations: 4 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.4286, allocations: 15.92 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.4286, allocations: 27.86 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.4287, allocations: 55.7 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4287, allocations: 0 / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.835e-06/0.4288, allocations: 0 / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.4288, allocations: 0 / 1.286 GB, free: 9.367 MB / 0.9825 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.0004936/0.4293, allocations: 286.2 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4293, allocations: 12.03 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.4293, allocations: 12.88 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.4296, allocations: 130.4 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.4296, allocations: 8.375 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.4296, allocations: 4.375 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.4298, allocations: 96.8 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4299, allocations: 4.188 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.4299, allocations: 7.938 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4299, allocations: 0 / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.43, allocations: 51.84 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.4309, allocations: 0.6041 MB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.431, allocations: 181.1 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.4311, allocations: 80.14 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.435e-05/0.4312, allocations: 75.28 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.946e-05/0.4312, allocations: 109.8 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4312, allocations: 0 / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001084/0.4313, allocations: 43.41 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4314, allocations: 126.7 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.4317, allocations: 166.4 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.4317, allocations: 25.7 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.4318, allocations: 108 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-06/0.4318, allocations: 0 / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.4318, allocations: 21.67 kB / 1.289 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.4321, allocations: 318.8 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.4321, allocations: 11.94 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.4321, allocations: 18.58 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.613e-05/0.4322, allocations: 22.58 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.4322, allocations: 7.922 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001768/0.4323, allocations: 61.59 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4324, allocations: 4 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4324, allocations: 0 / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4324, allocations: 3.938 kB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.4325, allocations: 4 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4325, allocations: 7.984 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.764e-05/0.4325, allocations: 7.938 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.4325, allocations: 4 kB / 1.289 GB, free: 6.551 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.0001659/0.4327, allocations: 189.2 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.4328, allocations: 112.9 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-05/0.4329, allocations: 120.7 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001107/0.433, allocations: 180.3 kB / 1.29 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001215/0.4331, allocations: 180.2 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000109/0.4332, allocations: 184.3 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.4336, allocations: 400.2 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.252e-05/0.4336, allocations: 105 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.4337, allocations: 101 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.4338, allocations: 188.1 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.4339, allocations: 184.2 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001191/0.434, allocations: 188.2 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.761e-05/0.4341, allocations: 180.3 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.4344, allocations: 308 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.4345, allocations: 112.9 kB / 1.292 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.4346, allocations: 188.2 kB / 1.292 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4347, allocations: 109 kB / 1.292 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.4348, allocations: 180.2 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.4349, allocations: 108.9 kB / 1.292 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001447/0.435, allocations: 129.3 kB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.435, allocations: 0 / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000298/0.4353, allocations: 8 kB / 1.292 GB, free: 2.973 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.0002186/0.4355, allocations: 170.5 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.4357, allocations: 19.92 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4357, allocations: 0 / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.4357, allocations: 0 / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.4362, allocations: 459.7 kB / 1.293 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.4367, allocations: 262.3 kB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.4372, allocations: 0.6885 MB / 1.294 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.4372, allocations: 15.38 kB / 1.294 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of SimCode: time 7.01e-07/0.4372, allocations: 0 / 1.294 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of Templates: time 0.003024/0.4402, allocations: 0.8085 MB / 1.295 GB, free: 0.5039 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 -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/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: 12.434077126992634]