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.001541/0.001548, allocations: 110.3 kB / 16.41 MB, free: 6.512 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.001572/0.001572, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.804/2.804, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.83 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9009/0.9028, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002695/0.9056, allocations: 1.488 MB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.907, allocations: 0.7323 MB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.907, allocations: 0 / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.9071, allocations: 3.938 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.9072, allocations: 11.86 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.9077, allocations: 123.6 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.9079, allocations: 83.69 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.908, allocations: 15.98 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.62e-05/0.9081, allocations: 31.92 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.958e-05/0.9082, allocations: 39.83 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.9082, allocations: 4 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.9084, allocations: 99.84 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.9085, allocations: 15.98 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.9085, allocations: 39.78 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.9088, allocations: 136.1 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.9088, allocations: 7.984 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9088, allocations: 0 / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.9088, allocations: 4 kB / 1.17 GB, free: 1.035 MB / 0.8887 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.0007547/0.9096, allocations: 422.8 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.9096, allocations: 12.03 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.9097, allocations: 8.891 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.9099, allocations: 172.3 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.9099, allocations: 4.375 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.9099, allocations: 4.375 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.9101, allocations: 73.97 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.9101, allocations: 0 / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.9102, allocations: 0 / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9102, allocations: 0 / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.9103, allocations: 43.91 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.911, allocations: 316.7 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.9111, allocations: 50.56 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.9112, allocations: 36.95 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.9113, allocations: 3.984 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.9115, allocations: 79.31 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 3.396e-06/0.9115, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004042/0.9119, allocations: 141.5 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.9119, allocations: 55.41 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.9121, allocations: 121.8 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.9121, allocations: 29.7 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.9122, allocations: 92.09 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.9122, allocations: 15.97 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.9123, allocations: 25.7 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9124, allocations: 330.8 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.9125, allocations: 27.98 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.62e-05/0.9126, allocations: 50.48 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.9128, allocations: 70.56 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.9128, allocations: 3.938 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002447/0.913, allocations: 113.5 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.913, allocations: 4 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.9131, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.9131, allocations: 4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.9132, allocations: 15.92 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9132, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.263e-05/0.9132, allocations: 12 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.9133, allocations: 7.984 kB / 1.172 GB, free: 14.49 MB / 0.9044 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.000101/0.9134, allocations: 117.8 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.9134, allocations: 7.953 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.9134, allocations: 8.375 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.9135, allocations: 4 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9135, allocations: 0 / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.9135, allocations: 3.938 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.914, allocations: 390.4 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.914, allocations: 0 / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.914, allocations: 11.98 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.914, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.914, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.914, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.914, allocations: 3.938 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.9144, allocations: 219.9 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.9144, allocations: 85.06 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.9144, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.9145, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.9146, allocations: 11.92 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.9146, allocations: 4 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.032e-05/0.9147, allocations: 95.92 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9147, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002829/0.915, allocations: 35.92 kB / 1.173 GB, free: 13.41 MB / 0.9044 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.0003758/0.9153, allocations: 168.8 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.9156, allocations: 75.89 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.9156, allocations: 0 / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.9157, allocations: 40.09 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.916, allocations: 4 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.9164, allocations: 196.7 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.9168, allocations: 0.6846 MB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.9168, allocations: 11.98 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.9168, allocations: 11.44 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9168, allocations: 0 / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of Templates: time 0.004555/0.9214, allocations: 1.463 MB / 1.176 GB, free: 10.72 MB / 0.9044 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 -s cvode -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/jenkins1/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