Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00219/0.00219, allocations: 192.8 kB / 16.14 MB, free: 6.711 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.868/2.868, allocations: 461.8 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 60.03 kB / 0.8984 GB, free: 37.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3462, allocations: 157.4 MB / 1.052 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003749/0.35, allocations: 1.535 MB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.3519, allocations: 0.7555 MB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.352, allocations: 3.938 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.012e-05/0.3521, allocations: 0 / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.737e-05/0.3522, allocations: 11.86 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/0.3529, allocations: 107.8 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3531, allocations: 63.78 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3533, allocations: 16 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3534, allocations: 31.89 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.683e-05/0.3535, allocations: 31.91 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.3535, allocations: 4 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.3537, allocations: 99.78 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.3537, allocations: 11.97 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.3538, allocations: 31.86 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.3541, allocations: 135.9 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3541, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3541, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3541, allocations: 4 kB / 1.055 GB, free: 6.059 MB / 0.8106 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.0007346/0.3548, allocations: 424.9 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3549, allocations: 8.031 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.3549, allocations: 8.844 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3551, allocations: 172.2 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.3551, allocations: 8.359 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3551, allocations: 8.375 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.3553, allocations: 73.95 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3554, allocations: 0 / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3554, allocations: 4 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3554, allocations: 0 / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.3555, allocations: 39.91 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.3561, allocations: 316.8 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.3563, allocations: 46.56 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/0.3564, allocations: 32.97 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3564, allocations: 8 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.3566, allocations: 75.31 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3566, allocations: 4 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003903/0.357, allocations: 145.6 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3571, allocations: 51.41 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.3572, allocations: 117.8 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3572, allocations: 25.7 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.3573, allocations: 96.12 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.3573, allocations: 15.75 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.3573, allocations: 33.7 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3574, allocations: 322.8 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.643e-05/0.3575, allocations: 27.98 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3577, allocations: 58.38 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3578, allocations: 74.84 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3578, allocations: 0 / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002319/0.3581, allocations: 113.5 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3581, allocations: 8 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3581, allocations: 0 / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3581, allocations: 0 / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3582, allocations: 19.92 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3583, allocations: 4 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.717e-05/0.3583, allocations: 11.97 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3583, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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.0001247/0.3585, allocations: 125.8 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.3585, allocations: 0 / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.3585, allocations: 12.38 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3585, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3586, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3586, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.359, allocations: 390.3 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.359, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.3591, allocations: 7.984 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3591, allocations: 4 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3591, allocations: 0 / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3591, allocations: 0 / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3591, allocations: 3.938 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.3594, allocations: 215.3 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.3594, allocations: 81.09 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.3595, allocations: 4 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.3596, allocations: 4 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.3596, allocations: 11.92 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3596, allocations: 0 / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.3597, allocations: 99.86 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3597, allocations: 4 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003004/0.36, allocations: 39.98 kB / 1.058 GB, free: 2.422 MB / 0.8106 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0003324/0.3603, allocations: 170 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.3606, allocations: 63.91 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3606, allocations: 4.125 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.475e-05/0.3607, allocations: 36.38 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.3609, allocations: 7.984 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.3614, allocations: 206.5 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.3616, allocations: 0.6887 MB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.3617, allocations: 8.141 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.3617, allocations: 15.38 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3617, allocations: 0 / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of Templates: time 0.004146/0.3659, allocations: 1.375 MB / 1.061 GB, free: 15.81 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0