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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.007654/0.007655, allocations: 107.6 kB / 15.74 MB, free: 5.594 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.001554/0.001554, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 68.11 kB / 1.054 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9908/0.9922, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003126/0.9954, allocations: 1.491 MB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.9971, allocations: 0.7206 MB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.675e-05/0.9972, allocations: 0 / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.162e-05/0.9973, allocations: 3.938 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.9975, allocations: 15.86 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009032/0.9984, allocations: 123.6 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.9986, allocations: 79.7 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.9987, allocations: 11.95 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.9988, allocations: 43.89 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.951e-05/0.9989, allocations: 35.84 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.999, allocations: 4 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.9992, allocations: 95.84 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.9993, allocations: 19.98 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.435e-05/0.9993, allocations: 39.78 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.9997, allocations: 137.9 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9997, allocations: 4 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9997, allocations: 0 / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.9997, allocations: 0 / 1.21 GB, free: 10.72 MB / 0.9356 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.0007204/1, allocations: 420.9 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1, allocations: 8.031 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/1.001, allocations: 34.75 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/1.001, allocations: 12.84 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/1.001, allocations: 176.2 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/1.001, allocations: 4.375 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/1.001, allocations: 8.312 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/1.001, allocations: 69.78 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.001, allocations: 0 / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/1.001, allocations: 0 / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.001, allocations: 4 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/1.001, allocations: 39.97 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/1.002, allocations: 320.6 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/1.002, allocations: 46.56 kB / 1.211 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/1.002, allocations: 32.95 kB / 1.211 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/1.002, allocations: 8 kB / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/1.002, allocations: 83.22 kB / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/1.002, allocations: 0 / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003885/1.003, allocations: 137.6 kB / 1.211 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.003, allocations: 55.41 kB / 1.211 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/1.003, allocations: 129.7 kB / 1.211 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.003, allocations: 25.7 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/1.003, allocations: 88.14 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/1.003, allocations: 15.81 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/1.003, allocations: 29.7 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.003, allocations: 322.8 kB / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/1.003, allocations: 23.98 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/1.003, allocations: 54.92 kB / 1.212 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/1.004, allocations: 70.5 kB / 1.212 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.004, allocations: 0 / 1.212 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002424/1.004, allocations: 113.5 kB / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.004, allocations: 12.06 kB / 1.212 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.004, allocations: 400 / 1.212 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.004, allocations: 0 / 1.212 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/1.004, allocations: 11.98 kB / 1.212 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.004, allocations: 7.938 kB / 1.212 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/1.004, allocations: 11.94 kB / 1.212 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/1.004, allocations: 3.984 kB / 1.212 GB, free: 8.133 MB / 0.9356 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.0001082/1.004, allocations: 121.8 kB / 1.212 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/1.004, allocations: 7.906 kB / 1.212 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/1.004, allocations: 16.36 kB / 1.212 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.004, allocations: 3.938 kB / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.004, allocations: 0 / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.004, allocations: 0 / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/1.005, allocations: 382.4 kB / 1.213 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.005, allocations: 4 kB / 1.213 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/1.005, allocations: 7.984 kB / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.005, allocations: 0 / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/1.005, allocations: 15.94 kB / 1.213 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/1.005, allocations: 3.938 kB / 1.213 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.005, allocations: 0 / 1.213 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/1.005, allocations: 207.4 kB / 1.213 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/1.005, allocations: 85.02 kB / 1.213 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/1.005, allocations: 0 / 1.213 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.462e-05/1.005, allocations: 15.94 kB / 1.213 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/1.005, allocations: 11.92 kB / 1.213 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/1.005, allocations: 0 / 1.213 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.137e-05/1.006, allocations: 91.27 kB / 1.213 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.006, allocations: 4 kB / 1.213 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003197/1.006, allocations: 43.92 kB / 1.213 GB, free: 7.027 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.0009158/1.007, allocations: 0.7877 MB / 1.214 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002594/1.007, allocations: 75.89 kB / 1.214 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.007, allocations: 0 / 1.214 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/1.007, allocations: 43.98 kB / 1.214 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/1.007, allocations: 20.41 kB / 1.214 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/1.009, allocations: 1.489 MB / 1.216 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/1.01, allocations: 0.6885 MB / 1.216 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.493e-05/1.01, allocations: 4 kB / 1.216 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/1.01, allocations: 19.42 kB / 1.216 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of SimCode: time 6.21e-07/1.01, allocations: 3.938 kB / 1.216 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/1.031, allocations: 2.683 MB / 1.219 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/8.487, allocations: 0 / 1.219 GB, free: 1.23 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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,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