Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.001802/0.001802, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002241/0.002241, allocations: 218.9 kB / 22.26 MB, free: 5.125 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 8.004 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.93/2.93, allocations: 476.7 MB / 0.7706 GB, free: 4.328 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.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") [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.002056/0.002056, allocations: 65.89 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4244, allocations: 169.9 MB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003244/0.4276, allocations: 1.525 MB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.4295, allocations: 0.8196 MB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.4296, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.149e-05/0.4297, allocations: 7.875 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.02e-05/0.4297, allocations: 11.88 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008295/0.4305, allocations: 143.6 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.4307, allocations: 79.72 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.4309, allocations: 16.11 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.431, allocations: 43.91 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.4311, allocations: 39.83 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.4311, allocations: 4 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.4314, allocations: 151.7 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.4315, allocations: 15.98 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.4315, allocations: 31.8 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.4318, allocations: 151.5 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4318, allocations: 0 / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4318, allocations: 0 / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.4318, allocations: 0 / 1.287 GB, free: 8.281 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007411/0.4326, allocations: 359.5 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4326, allocations: 8.031 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.433, allocations: 32.86 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.4332, allocations: 130.4 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.4333, allocations: 384 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.4333, allocations: 4.375 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.4335, allocations: 77.78 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4335, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4335, allocations: 3.938 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4335, allocations: 0 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.4337, allocations: 39.91 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.4343, allocations: 291.8 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.4345, allocations: 46.55 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.4346, allocations: 28.97 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.4346, allocations: 3.938 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.4347, allocations: 79.31 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.4347, allocations: 4 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004402/0.4352, allocations: 137.7 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.4352, allocations: 55.39 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.4354, allocations: 122.8 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.4355, allocations: 33.7 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.4355, allocations: 88.09 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.4356, allocations: 23.83 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.4356, allocations: 29.7 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4358, allocations: 318.8 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-05/0.4359, allocations: 31.92 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.436, allocations: 54.53 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.4362, allocations: 70.55 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4362, allocations: 0 / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002345/0.4364, allocations: 109.6 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4364, allocations: 8 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4364, allocations: 3.984 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4364, allocations: 0 / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.4365, allocations: 11.94 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.4365, allocations: 4 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.4366, allocations: 12.05 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.4366, allocations: 3.938 kB / 1.289 GB, free: 5.887 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: 9 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001187/0.4367, allocations: 129.4 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.4368, allocations: 7.953 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.4368, allocations: 8.359 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4368, allocations: 0 / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4368, allocations: 4 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4368, allocations: 0 / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.4373, allocations: 365.8 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4373, allocations: 0 / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.4373, allocations: 4 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4373, allocations: 0 / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.4373, allocations: 0 / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.4373, allocations: 3.938 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4373, allocations: 3.984 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.4376, allocations: 219.5 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.4377, allocations: 11.89 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.4377, allocations: 0 / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.4378, allocations: 11.92 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.4378, allocations: 4 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.4378, allocations: 7.984 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.182e-05/0.4379, allocations: 95.2 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4379, allocations: 0 / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003893/0.4383, allocations: 39.94 kB / 1.29 GB, free: 4.914 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: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003918/0.4387, allocations: 150.6 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.4389, allocations: 71.89 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4389, allocations: 8.062 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.4391, allocations: 35.92 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.4393, allocations: 14.36 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.4398, allocations: 189.4 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.4402, allocations: 0.6885 MB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.783e-05/0.4403, allocations: 11.98 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.4403, allocations: 15.42 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.4403, allocations: 0 / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of Templates: time 0.005139/0.4455, allocations: 1.495 MB / 1.292 GB, free: 2.211 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time [Calling sys.exit(0), Time elapsed: 9.603888249956071]