Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001416/0.001416, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001371/0.001371, allocations: 186 kB / 20.78 MB, free: 1.547 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.644/1.644, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 496.2 MB / 0.7819 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 68.11 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38/1.382, allocations: 173.6 MB / 1.305 GB, free: 33.45 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002895/1.385, allocations: 1.503 MB / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001454/1.386, allocations: 0.74 MB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/1.386, allocations: 0 / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/1.387, allocations: 10 kB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.693e-05/1.387, allocations: 11.86 kB / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006758/1.387, allocations: 116.6 kB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/1.387, allocations: 86.08 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/1.388, allocations: 5.906 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.199e-05/1.388, allocations: 39.97 kB / 1.308 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/1.388, allocations: 49.08 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/1.388, allocations: 6.344 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/1.388, allocations: 101.3 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/1.388, allocations: 14.66 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/1.388, allocations: 36.11 kB / 1.308 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/1.388, allocations: 143.9 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.388, allocations: 2.781 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/1.388, allocations: 0 / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.492e-06/1.388, allocations: 0 / 1.308 GB, free: 31.64 MB / 1.061 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.0006532/1.389, allocations: 427.5 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.389, allocations: 11.19 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/1.389, allocations: 7.703 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/1.389, allocations: 174.6 kB / 1.309 GB, free: 31.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/1.389, allocations: 3.312 kB / 1.309 GB, free: 31.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/1.389, allocations: 6.344 kB / 1.309 GB, free: 31.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/1.389, allocations: 72.28 kB / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/1.389, allocations: 0 / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/1.389, allocations: 0 / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/1.389, allocations: 7.438 kB / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/1.389, allocations: 32.72 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/1.39, allocations: 325.4 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/1.39, allocations: 46.61 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.336e-05/1.39, allocations: 33.59 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/1.39, allocations: 3.281 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/1.39, allocations: 70.42 kB / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/1.39, allocations: 0 / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003868/1.391, allocations: 151.9 kB / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/1.391, allocations: 55.41 kB / 1.31 GB, free: 30.4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/1.391, allocations: 124.4 kB / 1.31 GB, free: 30.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/1.391, allocations: 29.7 kB / 1.31 GB, free: 30.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/1.391, allocations: 86.77 kB / 1.31 GB, free: 30.17 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/1.391, allocations: 20.66 kB / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/1.391, allocations: 23.12 kB / 1.31 GB, free: 30.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/1.391, allocations: 324.7 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/1.391, allocations: 27.36 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.612e-05/1.391, allocations: 49.17 kB / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/1.391, allocations: 73.34 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/1.391, allocations: 0 / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000199/1.392, allocations: 116.6 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.392, allocations: 2.844 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.392, allocations: 2.906 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.392, allocations: 3.938 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/1.392, allocations: 12.12 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.392, allocations: 6.656 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/1.392, allocations: 10.28 kB / 1.31 GB, free: 29.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/1.392, allocations: 3 kB / 1.31 GB, free: 29.65 MB / 1.061 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 7.107e-05/1.392, allocations: 127.5 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/1.392, allocations: 6.953 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/1.392, allocations: 15.66 kB / 1.311 GB, free: 29.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.392, allocations: 6.953 kB / 1.311 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.392, allocations: 0 / 1.311 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.392, allocations: 0 / 1.311 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/1.392, allocations: 385.4 kB / 1.311 GB, free: 29.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.392, allocations: 0 / 1.311 GB, free: 29.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/1.392, allocations: 10.14 kB / 1.311 GB, free: 29.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.392, allocations: 2.75 kB / 1.311 GB, free: 29.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.392, allocations: 0 / 1.311 GB, free: 29.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.392, allocations: 0 / 1.311 GB, free: 29.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.392, allocations: 3.938 kB / 1.311 GB, free: 29.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/1.393, allocations: 211.1 kB / 1.311 GB, free: 29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/1.393, allocations: 81.06 kB / 1.311 GB, free: 28.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/1.393, allocations: 6.719 kB / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/1.393, allocations: 5.672 kB / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/1.393, allocations: 14.11 kB / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/1.393, allocations: 0 / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.078e-05/1.393, allocations: 97.95 kB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.393, allocations: 0 / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002961/1.393, allocations: 33.64 kB / 1.311 GB, free: 28.8 MB / 1.061 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.0003746/1.394, allocations: 172 kB / 1.312 GB, free: 28.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000237/1.394, allocations: 74.39 kB / 1.312 GB, free: 28.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/1.394, allocations: 0 / 1.312 GB, free: 28.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.825e-05/1.394, allocations: 29.67 kB / 1.312 GB, free: 28.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/1.394, allocations: 10.66 kB / 1.312 GB, free: 28.65 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/1.395, allocations: 198.8 kB / 1.312 GB, free: 28.49 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/1.395, allocations: 0.6862 MB / 1.313 GB, free: 27.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.063e-05/1.395, allocations: 11.33 kB / 1.313 GB, free: 27.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/1.395, allocations: 14 kB / 1.313 GB, free: 27.79 MB / 1.061 GB Notification: Performance of SimCode: time 8.32e-07/1.395, allocations: 0 / 1.313 GB, free: 27.79 MB / 1.061 GB Notification: Performance of Templates: time 0.004468/1.399, allocations: 1.477 MB / 1.314 GB, free: 27.62 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.405048820190132]