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.001303/0.001303, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00146/0.00146, allocations: 222.8 kB / 23 MB, free: 4.914 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.867/2.867, allocations: 476 MB / 0.7707 GB, free: 4.727 MB / 0.6231 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.002073/0.002073, allocations: 65.17 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.314, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002763/0.3168, allocations: 1.492 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.3183, allocations: 0.7536 MB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.3183, allocations: 0 / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.3183, allocations: 7.938 kB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.3184, allocations: 11.86 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.3189, allocations: 147.5 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3191, allocations: 75.77 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.3192, allocations: 12.12 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3193, allocations: 43.91 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.3194, allocations: 39.88 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.3194, allocations: 7.938 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.3197, allocations: 135.8 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.3197, allocations: 15.98 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.3197, allocations: 31.84 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.32, allocations: 151.5 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.32, allocations: 3.938 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.32, allocations: 0 / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.32, allocations: 4 kB / 1.287 GB, free: 9.016 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.0006083/0.3206, allocations: 347.5 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3207, allocations: 11.97 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.321, allocations: 32.91 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.3212, allocations: 141.8 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.3212, allocations: 8.375 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3213, allocations: 384 / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3214, allocations: 77.75 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3215, allocations: 0 / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.3215, allocations: 7.984 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3215, allocations: 4 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.3216, allocations: 31.98 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.3221, allocations: 252.4 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3223, allocations: 42.56 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.3223, allocations: 28.97 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.3224, allocations: 0 / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.3225, allocations: 83.38 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3225, allocations: 0 / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003914/0.3229, allocations: 149.6 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.3229, allocations: 59.41 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.3231, allocations: 118.1 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3231, allocations: 25.7 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.3231, allocations: 100.1 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3232, allocations: 15.84 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.3232, allocations: 29.7 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3234, allocations: 322.8 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.3235, allocations: 27.98 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.973e-05/0.3236, allocations: 54.5 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.3237, allocations: 74.48 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.3237, allocations: 0 / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002371/0.324, allocations: 113.5 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.324, allocations: 4 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.324, allocations: 4.062 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.324, allocations: 4 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.3241, allocations: 19.92 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3241, allocations: 0 / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.3242, allocations: 4 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.3242, allocations: 4 kB / 1.289 GB, free: 6.664 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 9.83e-05/0.3243, allocations: 121.8 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.3243, allocations: 7.953 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.3243, allocations: 12.31 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3243, allocations: 8 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3243, allocations: 0 / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3243, allocations: 3.984 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.3248, allocations: 322.1 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3248, allocations: 4 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.3248, allocations: 3.984 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3248, allocations: 4 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3248, allocations: 4 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3248, allocations: 0 / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3248, allocations: 0 / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.3251, allocations: 227.8 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.3251, allocations: 11.89 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.3252, allocations: 0 / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.3252, allocations: 4 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.3253, allocations: 7.984 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.3253, allocations: 3.938 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.253e-05/0.3254, allocations: 99.27 kB / 1.29 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3254, allocations: 0 / 1.29 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002952/0.3257, allocations: 35.92 kB / 1.29 GB, free: 5.734 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.0003494/0.326, allocations: 177.6 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.3262, allocations: 71.89 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3262, allocations: 0 / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.446e-05/0.3263, allocations: 27.98 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.3266, allocations: 12.12 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.327, allocations: 227.1 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.085e-05/0.3271, allocations: 75.27 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.3271, allocations: 11.44 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3271, allocations: 0 / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of Templates: time 0.003505/0.3306, allocations: 1.662 MB / 1.292 GB, free: 3.445 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/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.648687841370702]