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.00134/0.00134, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001489/0.001489, allocations: 163 kB / 23.01 MB, free: 4.602 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.476/1.476, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.721/2.721, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] 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.002306/0.002306, allocations: 67.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3436, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.004033/0.3477, allocations: 1.49 MB / 1.119 GB, free: 1.055 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3499, allocations: 0.7713 MB / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.35, allocations: 3.938 kB / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.35, allocations: 3.938 kB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.3501, allocations: 15.86 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008131/0.3509, allocations: 143.5 kB / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.351, allocations: 75.78 kB / 1.12 GB, free: 40 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3512, allocations: 12.16 kB / 1.12 GB, free: 28 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.3514, allocations: 39.92 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3515, allocations: 39.81 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.3515, allocations: 4 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004163/0.3519, allocations: 139.8 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.3519, allocations: 19.92 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.352, allocations: 31.84 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.3523, allocations: 147.5 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3523, allocations: 0 / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3523, allocations: 0 / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3523, allocations: 0 / 1.12 GB, free: 15.61 MB / 1.076 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.0007842/0.3531, allocations: 351.5 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3532, allocations: 8.031 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.3536, allocations: 32.88 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3539, allocations: 138.3 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.354, allocations: 4.375 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.354, allocations: 4.375 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.3542, allocations: 69.78 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3543, allocations: 8 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3543, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3543, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3545, allocations: 39.91 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/0.3553, allocations: 252.4 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.3555, allocations: 42.56 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.3556, allocations: 24.97 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3556, allocations: 12 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.3558, allocations: 71.38 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.3558, allocations: 4 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0005775/0.3564, allocations: 149.6 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.3565, allocations: 51.41 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.3566, allocations: 127.8 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.3567, allocations: 33.7 kB / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.3567, allocations: 88.12 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.3568, allocations: 23.84 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.3569, allocations: 29.7 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.357, allocations: 318.8 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.3572, allocations: 31.91 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.3573, allocations: 46.56 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.3575, allocations: 74.48 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3575, allocations: 0 / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003519/0.3579, allocations: 121.5 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3579, allocations: 6.969 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3579, allocations: 7.984 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3579, allocations: 0 / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3581, allocations: 11.94 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3581, allocations: 3.984 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.871e-05/0.3581, allocations: 4 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.3582, allocations: 8 kB / 1.122 GB, free: 13.26 MB / 1.076 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.0001314/0.3583, allocations: 121.8 kB / 1.122 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.3583, allocations: 15.89 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.3584, allocations: 16.42 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3584, allocations: 0 / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3584, allocations: 0 / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3584, allocations: 0 / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007414/0.3591, allocations: 330 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.3591, allocations: 0 / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.3592, allocations: 4 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3592, allocations: 4 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.3592, allocations: 3.984 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3592, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3592, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.3596, allocations: 223.3 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.3596, allocations: 7.984 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.3597, allocations: 0 / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.3598, allocations: 4 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.3599, allocations: 7.984 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.3599, allocations: 11.94 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.709e-05/0.3599, allocations: 92.27 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3599, allocations: 0 / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00051/0.3605, allocations: 39.92 kB / 1.123 GB, free: 12.34 MB / 1.076 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.0005632/0.361, allocations: 158.2 kB / 1.123 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.3614, allocations: 75.89 kB / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3614, allocations: 0 / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.3615, allocations: 27.98 kB / 1.123 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3619, allocations: 14.27 kB / 1.123 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.3625, allocations: 205.2 kB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.3626, allocations: 79.33 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.227e-05/0.3626, allocations: 15.97 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.3627, allocations: 12.5 kB / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/0.3627, allocations: 0 / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of Templates: time 0.006387/0.3691, allocations: 1.477 MB / 1.125 GB, free: 10.27 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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/jenkins1/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: 8.755364949000068]