Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437 MB / 0.7177 GB, free: 4.539 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.89 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3007, allocations: 151.6 MB / 1.176 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003575/0.3043, allocations: 1.467 MB / 1.177 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3062, allocations: 0.7362 MB / 1.178 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.3063, allocations: 0 / 1.178 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.3063, allocations: 3.938 kB / 1.178 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.041e-05/0.3064, allocations: 15.86 kB / 1.178 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.3069, allocations: 123.6 kB / 1.178 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3071, allocations: 75.72 kB / 1.178 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.3072, allocations: 19.98 kB / 1.178 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.074e-05/0.3073, allocations: 31.91 kB / 1.178 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.3073, allocations: 39.83 kB / 1.178 GB, free: 3.414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.3074, allocations: 8 kB / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.3076, allocations: 95.84 kB / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.3076, allocations: 19.97 kB / 1.178 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.3077, allocations: 35.8 kB / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.3079, allocations: 147.5 kB / 1.179 GB, free: 3.113 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.3079, allocations: 4 kB / 1.179 GB, free: 3.109 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3079, allocations: 0 / 1.179 GB, free: 3.109 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3079, allocations: 0 / 1.179 GB, free: 3.109 MB / 0.92 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.000693/0.3086, allocations: 420.7 kB / 1.179 GB, free: 2.645 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3087, allocations: 8.031 kB / 1.179 GB, free: 2.637 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.3087, allocations: 8.891 kB / 1.179 GB, free: 2.629 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.3089, allocations: 180.2 kB / 1.179 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.3089, allocations: 4.375 kB / 1.179 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.3089, allocations: 12.38 kB / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3091, allocations: 77.92 kB / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3092, allocations: 0 / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3092, allocations: 0 / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3092, allocations: 4 kB / 1.179 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.3094, allocations: 35.97 kB / 1.179 GB, free: 2.277 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006521/0.3101, allocations: 320.7 kB / 1.18 GB, free: 1.914 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.3102, allocations: 50.56 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/0.3103, allocations: 28.97 kB / 1.18 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3103, allocations: 4 kB / 1.18 GB, free: 1.82 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.3105, allocations: 75.38 kB / 1.18 GB, free: 1.734 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 3.376e-06/0.3105, allocations: 0 / 1.18 GB, free: 1.734 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003972/0.3109, allocations: 149.5 kB / 1.18 GB, free: 1.582 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.311, allocations: 51.41 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3111, allocations: 121.8 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3111, allocations: 25.7 kB / 1.18 GB, free: 1.359 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.3112, allocations: 96.09 kB / 1.18 GB, free: 1.262 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3112, allocations: 23.77 kB / 1.18 GB, free: 1.238 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.3113, allocations: 33.7 kB / 1.18 GB, free: 1.199 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3114, allocations: 318.8 kB / 1.181 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.3115, allocations: 27.98 kB / 1.181 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.653e-05/0.3116, allocations: 46.55 kB / 1.181 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3118, allocations: 78.48 kB / 1.181 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3118, allocations: 0 / 1.181 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002634/0.3121, allocations: 109.5 kB / 1.181 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3121, allocations: 7.984 kB / 1.181 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3121, allocations: 4 kB / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3121, allocations: 0 / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.3122, allocations: 12 kB / 1.181 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3123, allocations: 8 kB / 1.181 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.3123, allocations: 7.984 kB / 1.181 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3123, allocations: 4 kB / 1.181 GB, free: 0.5547 MB / 0.92 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.794e-05/0.3124, allocations: 118.5 kB / 1.181 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.3125, allocations: 7.953 kB / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.3125, allocations: 16.36 kB / 1.181 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3125, allocations: 0 / 1.181 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.3125, allocations: 0 / 1.181 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3125, allocations: 7.938 kB / 1.181 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.313, allocations: 390.3 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3131, allocations: 0 / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.3131, allocations: 4 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3131, allocations: 0 / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3131, allocations: 7.984 kB / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3131, allocations: 0 / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3131, allocations: 3.938 kB / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.3135, allocations: 204 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.3135, allocations: 89.06 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.3136, allocations: 3.938 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.3136, allocations: 7.984 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.3137, allocations: 7.938 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3137, allocations: 3.984 kB / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.882e-05/0.3138, allocations: 95.27 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3138, allocations: 0 / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002878/0.3141, allocations: 39.94 kB / 1.182 GB, free: 15.47 MB / 0.9356 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.0003485/0.3144, allocations: 167.7 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.3147, allocations: 75.95 kB / 1.182 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3147, allocations: 0 / 1.182 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.3148, allocations: 31.98 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.3151, allocations: 4 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.3155, allocations: 222.3 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.3159, allocations: 0.6924 MB / 1.183 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.3159, allocations: 11.44 kB / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.3159, allocations: 0 / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of Templates: time 0.003646/0.3196, allocations: 1.626 MB / 1.185 GB, free: 12.6 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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: 10.637317287037149]