Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007619/0.0007651, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007484/0.007484, allocations: 170 kB / 16.26 MB, free: 6.613 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.272/1.272, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.128/2.128, allocations: 390.9 MB / 0.6664 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003188, allocations: 15.98 kB / 0.8161 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5769/0.5772, allocations: 142.4 MB / 0.9552 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001207/0.5785, allocations: 1.193 MB / 0.9563 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009043/0.5794, allocations: 0.7099 MB / 0.957 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.5794, allocations: 7.938 kB / 0.957 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.5794, allocations: 4.953 kB / 0.957 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.777e-05/0.5795, allocations: 8.734 kB / 0.957 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.5799, allocations: 109.8 kB / 0.9572 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.678e-05/0.58, allocations: 70.09 kB / 0.9572 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.859e-05/0.5801, allocations: 17.47 kB / 0.9572 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.93e-05/0.5801, allocations: 32.92 kB / 0.9573 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.7e-05/0.5802, allocations: 42.83 kB / 0.9573 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.5802, allocations: 0 / 0.9573 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.5804, allocations: 89.81 kB / 0.9574 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.5804, allocations: 11.2 kB / 0.9574 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.5804, allocations: 57.89 kB / 0.9575 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.5806, allocations: 135 kB / 0.9576 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.5806, allocations: 1.906 kB / 0.9576 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5806, allocations: 0 / 0.9576 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.5806, allocations: 0 / 0.9576 GB, free: 5.898 MB / 0.7169 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.0004358/0.5811, allocations: 413.8 kB / 0.958 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5811, allocations: 8.969 kB / 0.958 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.811e-05/0.5811, allocations: 32.25 kB / 0.958 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.5812, allocations: 11.69 kB / 0.958 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.516e-05/0.5812, allocations: 175.9 kB / 0.9582 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.5813, allocations: 3.062 kB / 0.9582 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.5813, allocations: 4.781 kB / 0.9582 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.5814, allocations: 79.25 kB / 0.9583 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5815, allocations: 4 kB / 0.9583 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.5815, allocations: 0 / 0.9583 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.5815, allocations: 1.25 kB / 0.9583 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.5816, allocations: 41.56 kB / 0.9583 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.5821, allocations: 334.8 kB / 0.9586 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.5822, allocations: 50.48 kB / 0.9587 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.165e-05/0.5823, allocations: 38.91 kB / 0.9587 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.5823, allocations: 1.781 kB / 0.9587 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.5824, allocations: 79.69 kB / 0.9588 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.5824, allocations: 0 / 0.9588 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003301/0.5828, allocations: 152.7 kB / 0.959 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.5828, allocations: 52.78 kB / 0.959 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.18e-05/0.5829, allocations: 124.9 kB / 0.9591 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.5829, allocations: 31.08 kB / 0.9592 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.5829, allocations: 86.97 kB / 0.9592 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.5829, allocations: 26.47 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.583, allocations: 17.84 kB / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.103e-05/0.583, allocations: 328.1 kB / 0.9596 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.5831, allocations: 25.86 kB / 0.9596 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.551e-05/0.5832, allocations: 47.19 kB / 0.9597 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.5833, allocations: 83.92 kB / 0.9597 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5833, allocations: 0 / 0.9597 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002004/0.5835, allocations: 122.9 kB / 0.9599 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5836, allocations: 11.78 kB / 0.9599 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.5836, allocations: 0 / 0.9599 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.5836, allocations: 1.844 kB / 0.9599 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.5837, allocations: 17.86 kB / 0.9599 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5837, allocations: 1.531 kB / 0.9599 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/0.5837, allocations: 12.25 kB / 0.9599 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.5838, allocations: 3.25 kB / 0.9599 GB, free: 3.711 MB / 0.7169 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 5.771e-05/0.5838, allocations: 126.5 kB / 0.96 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.5838, allocations: 7.188 kB / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.5839, allocations: 10.28 kB / 0.96 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5839, allocations: 1.25 kB / 0.96 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.5839, allocations: 0 / 0.96 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5839, allocations: 0 / 0.96 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.5842, allocations: 389.2 kB / 0.9604 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5842, allocations: 0 / 0.9604 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.5843, allocations: 8.203 kB / 0.9604 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5843, allocations: 1.375 kB / 0.9604 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.5843, allocations: 5.25 kB / 0.9604 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5843, allocations: 3.938 kB / 0.9604 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5843, allocations: 0 / 0.9604 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.5845, allocations: 218.9 kB / 0.9606 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.5845, allocations: 87.05 kB / 0.9607 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.5846, allocations: 1.125 kB / 0.9607 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.5847, allocations: 12.25 kB / 0.9607 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.5847, allocations: 7.203 kB / 0.9607 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.5847, allocations: 2.219 kB / 0.9607 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.227e-05/0.5847, allocations: 91.95 kB / 0.9608 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5848, allocations: 5.125 kB / 0.9608 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002561/0.585, allocations: 43.92 kB / 0.9609 GB, free: 2.797 MB / 0.7169 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.0005719/0.5856, allocations: 0.8091 MB / 0.9617 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.5858, allocations: 79.77 kB / 0.9617 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5858, allocations: 0 / 0.9617 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.5859, allocations: 43.58 kB / 0.9618 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.5861, allocations: 11.62 kB / 0.9618 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.5873, allocations: 1.521 MB / 0.9633 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.5874, allocations: 0.7002 MB / 0.964 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.5875, allocations: 4.125 kB / 0.964 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.5875, allocations: 18.48 kB / 0.964 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.5875, allocations: 0 / 0.964 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.584/1.172, allocations: 2.331 MB / 0.9663 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/1.172, allocations: 260.8 kB / 0.9665 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.808, allocations: 0 / 0.9665 GB, free: 14.45 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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,TOut.y,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.p,hea.samplePeriod,hea.seed,occ.startTime,occ.startValue,occ.y,time