Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_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_9_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.0015/0.0015, 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.001616/0.001616, allocations: 196.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.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.333/2.333, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.89 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.6755, allocations: 140.4 MB / 0.9489 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002351/0.6779, allocations: 1.534 MB / 0.9504 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.679, allocations: 0.7334 MB / 0.9511 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.679, allocations: 0 / 0.9511 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.932e-05/0.6791, allocations: 7.922 kB / 0.9511 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.356e-05/0.6792, allocations: 5.688 kB / 0.9511 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.6796, allocations: 109 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.878e-05/0.6797, allocations: 74.62 kB / 0.9513 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.6798, allocations: 17.31 kB / 0.9513 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.6799, allocations: 29.56 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.723e-05/0.6799, allocations: 36.22 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.6799, allocations: 4.125 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.6801, allocations: 92.84 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.6801, allocations: 23.14 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.6802, allocations: 32.67 kB / 0.9515 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.6804, allocations: 135.7 kB / 0.9517 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6804, allocations: 0 / 0.9517 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6804, allocations: 0 / 0.9517 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.6804, allocations: 0 / 0.9517 GB, free: 7.074 MB / 0.7169 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.000514/0.681, allocations: 417.2 kB / 0.9521 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.681, allocations: 8.281 kB / 0.9521 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.681, allocations: 5.281 kB / 0.9521 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.687e-05/0.6811, allocations: 180.2 kB / 0.9523 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.6812, allocations: 7 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.6812, allocations: 3.906 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.6814, allocations: 80.92 kB / 0.9523 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.6814, allocations: 3.984 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.6814, allocations: 0 / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6814, allocations: 1.562 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.6815, allocations: 35.88 kB / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.6821, allocations: 322.4 kB / 0.9527 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.6822, allocations: 51.95 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.688e-05/0.6823, allocations: 31.56 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.6823, allocations: 5.062 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.6825, allocations: 78.44 kB / 0.9528 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.6825, allocations: 0 / 0.9528 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003816/0.6829, allocations: 135.6 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.6829, allocations: 62 kB / 0.953 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.683, allocations: 124.8 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.683, allocations: 35.39 kB / 0.9532 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.6831, allocations: 85.83 kB / 0.9533 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.6831, allocations: 14.69 kB / 0.9533 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.6831, allocations: 30.02 kB / 0.9533 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.6832, allocations: 320.2 kB / 0.9536 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.6833, allocations: 30.42 kB / 0.9536 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-05/0.6834, allocations: 52.77 kB / 0.9537 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.6835, allocations: 70.28 kB / 0.9538 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6835, allocations: 0 / 0.9538 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002164/0.6837, allocations: 117 kB / 0.9539 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6838, allocations: 8.781 kB / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6838, allocations: 1.5 kB / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.6838, allocations: 1.188 kB / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.6839, allocations: 11.83 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.6839, allocations: 2.406 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.274e-05/0.684, allocations: 7.656 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.684, allocations: 10.77 kB / 0.9539 GB, free: 4.926 MB / 0.7169 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 6.55e-05/0.6841, allocations: 123.3 kB / 0.954 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.6841, allocations: 10 kB / 0.954 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.6841, allocations: 9.75 kB / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.6841, allocations: 2.156 kB / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6841, allocations: 0 / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6841, allocations: 0 / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.6845, allocations: 379.1 kB / 0.9544 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6845, allocations: 0.9688 kB / 0.9544 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.6846, allocations: 11.39 kB / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.6846, allocations: 4 kB / 0.9544 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.6846, allocations: 1.188 kB / 0.9544 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6846, allocations: 1.062 kB / 0.9544 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6846, allocations: 3.938 kB / 0.9544 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.6848, allocations: 214.6 kB / 0.9546 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.6849, allocations: 86.02 kB / 0.9547 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.6849, allocations: 1.25 kB / 0.9547 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.685, allocations: 10.8 kB / 0.9547 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.685, allocations: 10.69 kB / 0.9547 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.685, allocations: 2.906 kB / 0.9548 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.294e-05/0.6851, allocations: 91.8 kB / 0.9548 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6851, allocations: 0 / 0.9548 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003021/0.6854, allocations: 44.2 kB / 0.9549 GB, free: 4.012 MB / 0.7169 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.0002844/0.6857, allocations: 164.8 kB / 0.955 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.6859, allocations: 70.73 kB / 0.9551 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6859, allocations: 0 / 0.9551 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-05/0.686, allocations: 34.8 kB / 0.9551 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.6863, allocations: 10.91 kB / 0.9551 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.6866, allocations: 198.2 kB / 0.9553 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.294e-05/0.6867, allocations: 0.6885 MB / 0.956 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.6867, allocations: 7.828 kB / 0.956 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.6868, allocations: 15.19 kB / 0.956 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.6868, allocations: 0 / 0.956 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of Templates: time 0.003276/0.6901, allocations: 1.369 MB / 0.9574 GB, free: 2.238 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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