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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_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.001667/0.001667, allocations: 101 kB / 16.4 MB, free: 6.461 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.001879/0.001879, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7355 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 68.09 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.796/0.7975, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002776/0.8004, allocations: 1.487 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.8017, allocations: 0.7284 MB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.8018, allocations: 0 / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.8018, allocations: 15.81 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.712e-05/0.8019, allocations: 3.938 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.8025, allocations: 131.5 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.8027, allocations: 75.81 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.8028, allocations: 15.95 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.907e-05/0.8029, allocations: 31.91 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.942e-05/0.803, allocations: 39.83 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.803, allocations: 11.94 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.8032, allocations: 91.91 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.8033, allocations: 19.92 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.8033, allocations: 31.86 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.8036, allocations: 147.4 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.8036, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8036, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8036, allocations: 0 / 1.211 GB, free: 10.82 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.0006387/0.8043, allocations: 426.7 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.8043, allocations: 8.031 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.8044, allocations: 8.844 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.8045, allocations: 168.3 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.8045, allocations: 8.375 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.8045, allocations: 8.359 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.8047, allocations: 73.91 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8048, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.8048, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8048, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.8049, allocations: 39.91 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.8055, allocations: 316.7 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.8057, allocations: 46.56 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.8058, allocations: 28.97 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.8058, allocations: 8.062 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.806, allocations: 83.31 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.806, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004007/0.8064, allocations: 133.5 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.8065, allocations: 59.39 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.312e-05/0.8066, allocations: 125.7 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.8066, allocations: 25.7 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.8067, allocations: 96.12 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.8067, allocations: 19.8 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.8068, allocations: 29.7 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.8069, allocations: 322.7 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.352e-05/0.807, allocations: 27.97 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.173e-05/0.8071, allocations: 42.56 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.8072, allocations: 74.55 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8072, allocations: 0 / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002393/0.8075, allocations: 113.5 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.8075, allocations: 9.562 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8075, allocations: 7.875 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.8075, allocations: 4.062 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.8076, allocations: 11.98 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.8077, allocations: 8 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.8077, allocations: 11.94 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.8078, allocations: 400 / 1.213 GB, free: 8.27 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 9.043e-05/0.8078, allocations: 121.8 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.8079, allocations: 7.891 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.8079, allocations: 12.38 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8079, allocations: 4 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8079, allocations: 0 / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.8079, allocations: 7.875 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.8084, allocations: 378.5 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8084, allocations: 0 / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.8084, allocations: 4 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.8084, allocations: 0 / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.8085, allocations: 11.98 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8085, allocations: 0 / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8085, allocations: 7.938 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.8088, allocations: 203.4 kB / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.8088, allocations: 92.98 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.8088, allocations: 0 / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.8089, allocations: 8 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.809, allocations: 11.92 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.809, allocations: 4 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.8091, allocations: 91.27 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8091, allocations: 4 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003068/0.8094, allocations: 39.94 kB / 1.214 GB, free: 7.176 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.0003279/0.8097, allocations: 155.1 kB / 1.214 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.81, allocations: 75.83 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.81, allocations: 0 / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.8101, allocations: 39.91 kB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.8103, allocations: 11.98 kB / 1.215 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.8108, allocations: 210.6 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.811, allocations: 0.6925 MB / 1.215 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.8111, allocations: 11.44 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.8111, allocations: 0 / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of Templates: time 0.003474/0.8145, allocations: 1.625 MB / 1.217 GB, free: 4.312 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (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=480 -emit_protected -lv LOG_STATS > 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) Reference file matches