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.001724/0.001724, allocations: 102.1 kB / 19.7 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.002464/0.002464, allocations: 219.9 kB / 23.01 MB, free: 4.605 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.76/2.76, allocations: 476.7 MB / 0.7714 GB, free: 4.273 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.002077/0.002077, allocations: 63.38 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.321, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003004/0.324, allocations: 1.517 MB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3256, allocations: 0.8157 MB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.3257, allocations: 7.938 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.3257, allocations: 3.938 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.3257, allocations: 11.86 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006464/0.3264, allocations: 143.6 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3265, allocations: 79.7 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.3266, allocations: 12.12 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.3268, allocations: 51.83 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.3269, allocations: 35.83 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3269, allocations: 12 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.3272, allocations: 143.8 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.3272, allocations: 11.98 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.3272, allocations: 35.78 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.3275, allocations: 151.5 kB / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3275, allocations: 0 / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3275, allocations: 0 / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3275, allocations: 0 / 1.288 GB, free: 8.184 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.0006507/0.3282, allocations: 347.5 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3282, allocations: 16.03 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.3286, allocations: 36.86 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.3288, allocations: 126.4 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.3288, allocations: 4.375 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.3289, allocations: 4.375 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.3291, allocations: 85.7 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3291, allocations: 7.922 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3291, allocations: 4 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3291, allocations: 0 / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3292, allocations: 31.98 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.3298, allocations: 287.8 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.33, allocations: 50.5 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.3301, allocations: 28.97 kB / 1.289 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3301, allocations: 0 / 1.289 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.3302, allocations: 75.38 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.3302, allocations: 0 / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004203/0.3307, allocations: 137.7 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.3307, allocations: 63.34 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3308, allocations: 122.1 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3309, allocations: 29.7 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.3309, allocations: 96.08 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.3309, allocations: 19.84 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.331, allocations: 29.64 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3311, allocations: 318.8 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.3312, allocations: 35.97 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3313, allocations: 42.56 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3315, allocations: 74.48 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3315, allocations: 0 / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002444/0.3318, allocations: 121.8 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3318, allocations: 8 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3318, allocations: 80 / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3318, allocations: 0 / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.3319, allocations: 11.98 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3319, allocations: 7.984 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.066e-05/0.332, allocations: 7.938 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.332, allocations: 0 / 1.29 GB, free: 5.785 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.0001247/0.3321, allocations: 134.3 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.3321, allocations: 3.953 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.3322, allocations: 12.36 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3322, allocations: 0 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3322, allocations: 0 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3322, allocations: 0 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.3328, allocations: 349.5 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.3328, allocations: 8 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.3328, allocations: 0 / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3328, allocations: 7.938 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3329, allocations: 7.969 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3329, allocations: 3.938 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3329, allocations: 0 / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.3332, allocations: 207.5 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.3332, allocations: 11.89 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.3332, allocations: 11.98 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.3333, allocations: 3.938 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.3333, allocations: 11.98 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3334, allocations: 0 / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.835e-05/0.3334, allocations: 96.52 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3334, allocations: 0 / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003658/0.3338, allocations: 35.94 kB / 1.291 GB, free: 4.82 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.0004932/0.3343, allocations: 166.7 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.3345, allocations: 71.89 kB / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3345, allocations: 0 / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3347, allocations: 35.92 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.3349, allocations: 12.11 kB / 1.291 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.3354, allocations: 219.1 kB / 1.291 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.3358, allocations: 0.6885 MB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.3358, allocations: 11.44 kB / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3358, allocations: 0 / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of Templates: time 0.004189/0.34, allocations: 1.658 MB / 1.293 GB, free: 1.922 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.496865637018345]