Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_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_9_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.006864/0.006864, allocations: 96.8 kB / 15.73 MB, free: 6.039 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.001375/0.001375, allocations: 200.5 kB / 16.68 MB, free: 5.965 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 57.59 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3289, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003053/0.332, allocations: 1.478 MB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3334, allocations: 0.7259 MB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.3335, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.093e-05/0.3336, allocations: 7.875 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/0.3336, allocations: 15.84 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.3343, allocations: 123.6 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.3344, allocations: 79.77 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3345, allocations: 11.97 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3346, allocations: 35.91 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.3347, allocations: 39.84 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3347, allocations: 4 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.3349, allocations: 95.84 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.335, allocations: 19.92 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.335, allocations: 35.84 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3353, allocations: 143.5 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3353, allocations: 3.984 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3353, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.3353, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 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.0006768/0.336, allocations: 416.7 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.3361, allocations: 12.03 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.3361, allocations: 12.89 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3362, allocations: 172.3 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.3363, allocations: 8.375 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3363, allocations: 4.375 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.3365, allocations: 77.89 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3365, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3365, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3366, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.3367, allocations: 39.91 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.3373, allocations: 320.7 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3375, allocations: 54.5 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.573e-05/0.3376, allocations: 36.95 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3376, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.3378, allocations: 83.31 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.3378, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004089/0.3382, allocations: 137.6 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3383, allocations: 59.47 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3384, allocations: 117.8 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3384, allocations: 37.7 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.3385, allocations: 84.14 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.3385, allocations: 19.84 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.3386, allocations: 25.7 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3387, allocations: 326.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-05/0.3388, allocations: 27.92 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.266e-05/0.3389, allocations: 54.55 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3391, allocations: 66.56 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3391, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002222/0.3393, allocations: 113.5 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3393, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.3394, allocations: 11.98 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3394, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.3395, allocations: 19.92 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3395, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.3396, allocations: 7.953 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.3396, allocations: 7.984 kB / 1.093 GB, free: 12.11 MB / 0.8575 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.0001125/0.3397, allocations: 121.8 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.3397, allocations: 7.953 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.3398, allocations: 8.375 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3398, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3398, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3398, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.3402, allocations: 382.4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3403, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.3403, allocations: 7.984 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3403, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3403, allocations: 4 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3403, allocations: 0 / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3403, allocations: 3.938 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.3406, allocations: 215.9 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.3407, allocations: 85 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3407, allocations: 4 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.3408, allocations: 0 / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.3409, allocations: 23.84 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3409, allocations: 4 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.696e-05/0.341, allocations: 95.27 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.341, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002856/0.3413, allocations: 39.92 kB / 1.094 GB, free: 11.03 MB / 0.8575 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.0003568/0.3416, allocations: 167 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.3419, allocations: 71.89 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3419, allocations: 4 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.951e-05/0.342, allocations: 39.91 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.3422, allocations: 4 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.3427, allocations: 189 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.343, allocations: 0.6846 MB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.005e-05/0.343, allocations: 11.72 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.3431, allocations: 11.44 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3431, allocations: 0 / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of Templates: time 0.004433/0.3475, allocations: 1.462 MB / 1.096 GB, free: 8.348 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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