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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 437 MB / 0.7103 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7171/0.7185, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003117/0.7216, allocations: 1.464 MB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.723, allocations: 0.7323 MB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.7231, allocations: 7.938 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.7231, allocations: 3.938 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.783e-05/0.7232, allocations: 15.8 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.7238, allocations: 127.6 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.7239, allocations: 67.84 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.724, allocations: 15.98 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.7242, allocations: 39.84 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.7242, allocations: 39.83 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.7243, allocations: 4.047 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.7245, allocations: 95.86 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.7245, allocations: 15.92 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.7246, allocations: 27.86 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.7248, allocations: 153.6 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7248, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7249, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.7249, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 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.0006516/0.7255, allocations: 420.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.7256, allocations: 8.031 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.7256, allocations: 8.844 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.7257, allocations: 172.4 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.7258, allocations: 8.359 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.7258, allocations: 12.38 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.726, allocations: 65.97 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.726, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.726, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.726, allocations: 3.938 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.7262, allocations: 39.91 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006157/0.7268, allocations: 320.6 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.7269, allocations: 46.56 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.727, allocations: 40.91 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.727, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.7273, allocations: 83.38 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.7273, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003996/0.7277, allocations: 141.5 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.7277, allocations: 55.41 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.7278, allocations: 113.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.7278, allocations: 29.7 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.7279, allocations: 92.12 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.7279, allocations: 15.81 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.728, allocations: 29.7 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7281, allocations: 326.8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.7282, allocations: 27.92 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.253e-05/0.7283, allocations: 46.56 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.7285, allocations: 78.84 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.7285, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002348/0.7287, allocations: 113.5 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.7288, allocations: 8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7288, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.7288, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.7289, allocations: 23.98 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.7289, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.801e-05/0.729, allocations: 11.84 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.729, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 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.366e-05/0.7291, allocations: 125.8 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.7291, allocations: 3.938 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.7292, allocations: 12.38 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7292, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7292, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7292, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.7296, allocations: 386.3 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.7297, allocations: 4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.7297, allocations: 3.984 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.7297, allocations: 4 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.7297, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7297, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7297, allocations: 7.938 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.73, allocations: 203.5 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.7301, allocations: 88.94 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.7301, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.7302, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.7303, allocations: 11.92 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.7303, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.7303, allocations: 95.92 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7303, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003073/0.7307, allocations: 39.94 kB / 1.023 GB, free: 12.07 MB / 0.7794 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.0003451/0.731, allocations: 168.2 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.7313, allocations: 71.91 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7313, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.7314, allocations: 39.91 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.7316, allocations: 13.22 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.7321, allocations: 181.1 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.7324, allocations: 0.6885 MB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.7325, allocations: 7.984 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.7325, allocations: 15.38 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.7325, allocations: 0 / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of Templates: time 0.004228/0.7367, allocations: 1.458 MB / 1.026 GB, free: 9.395 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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