Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001429/0.001429, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001467/0.001467, allocations: 197.3 kB / 22.17 MB, free: 5.656 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.554/1.554, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.87/2.87, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 59.89 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8053/0.8075, allocations: 168.7 MB / 1.274 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003416/0.8109, allocations: 1.495 MB / 1.275 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.8123, allocations: 0.7378 MB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.8124, allocations: 0 / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.8124, allocations: 11.92 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.8125, allocations: 11.88 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.8131, allocations: 123.6 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.8132, allocations: 79.7 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.8133, allocations: 15.94 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.8134, allocations: 35.92 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.8135, allocations: 43.81 kB / 1.277 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.8135, allocations: 4 kB / 1.277 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.8137, allocations: 103.8 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.8137, allocations: 15.98 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.8138, allocations: 39.78 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.8141, allocations: 150.2 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8141, allocations: 3.938 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8141, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.8141, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 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.0007062/0.8148, allocations: 416.8 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.8148, allocations: 8.031 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.8149, allocations: 12.89 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.815, allocations: 172.3 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.815, allocations: 4.375 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.815, allocations: 4.375 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.8152, allocations: 69.97 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.8153, allocations: 3.984 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.8153, allocations: 7.984 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8153, allocations: 0 / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.8154, allocations: 43.92 kB / 1.278 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006508/0.8161, allocations: 312.8 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.8162, allocations: 42.56 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.658e-05/0.8163, allocations: 28.97 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.8163, allocations: 4 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.8165, allocations: 91.23 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.8165, allocations: 0 / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000412/0.817, allocations: 133.6 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.817, allocations: 55.39 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.8171, allocations: 133.7 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.8172, allocations: 29.7 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.8172, allocations: 96.19 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.8173, allocations: 15.91 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.8173, allocations: 29.7 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.8175, allocations: 318.8 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.844e-05/0.8176, allocations: 31.92 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.8177, allocations: 50.55 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.8178, allocations: 70.55 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8178, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002631/0.8181, allocations: 113.5 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.8181, allocations: 4.062 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.8181, allocations: 8 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.8181, allocations: 0 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.8182, allocations: 11.94 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.8182, allocations: 3.984 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.8183, allocations: 8 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.8183, allocations: 4 kB / 1.279 GB, free: 15.18 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.0001032/0.8184, allocations: 121.7 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.8184, allocations: 11.95 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.8185, allocations: 20.3 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.8185, allocations: 3.938 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.8185, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8185, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/0.819, allocations: 382.4 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.819, allocations: 0 / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.8191, allocations: 4 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.8191, allocations: 0 / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.8191, allocations: 11.98 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8191, allocations: 4 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8191, allocations: 3.938 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.8194, allocations: 199.5 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.8194, allocations: 85.06 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.8195, allocations: 3.984 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.971e-05/0.8196, allocations: 8 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.8196, allocations: 11.92 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.8196, allocations: 4 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.11e-05/0.8197, allocations: 91.27 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8197, allocations: 0 / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003355/0.82, allocations: 35.94 kB / 1.28 GB, free: 14.09 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.0003697/0.8204, allocations: 180.3 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.8206, allocations: 71.88 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8206, allocations: 4 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.8207, allocations: 35.86 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.821, allocations: 7.984 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.8214, allocations: 196.9 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.8218, allocations: 0.6885 MB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.8218, allocations: 4 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.8218, allocations: 11.44 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.8218, allocations: 0 / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of Templates: time 0.004668/0.8265, allocations: 1.48 MB / 1.283 GB, free: 11.38 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.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.920772801153362]