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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007825/0.007825, allocations: 102.9 kB / 15.74 MB, free: 6.496 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.001079/0.001079, allocations: 192.2 kB / 16.68 MB, free: 6.375 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 472.6 MB / 0.7453 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.84 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3665, allocations: 159.9 MB / 1.226 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003203/0.3697, allocations: 1.486 MB / 1.227 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3712, allocations: 0.7437 MB / 1.228 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.3713, allocations: 0 / 1.228 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.521e-05/0.3713, allocations: 3.938 kB / 1.228 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.3714, allocations: 11.86 kB / 1.228 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.372, allocations: 123.6 kB / 1.228 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.3722, allocations: 79.81 kB / 1.228 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3723, allocations: 15.94 kB / 1.228 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.3724, allocations: 39.84 kB / 1.228 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.3724, allocations: 39.83 kB / 1.228 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3725, allocations: 4 kB / 1.228 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.3727, allocations: 95.91 kB / 1.228 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.3727, allocations: 19.92 kB / 1.228 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.3728, allocations: 31.8 kB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.373, allocations: 143.5 kB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.373, allocations: 0 / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.734e-06/0.373, allocations: 0 / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.373, allocations: 0 / 1.228 GB, free: 6.434 MB / 0.9825 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.0006555/0.3737, allocations: 424.7 kB / 1.229 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3737, allocations: 12.03 kB / 1.229 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.3738, allocations: 4.891 kB / 1.229 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3739, allocations: 180.3 kB / 1.229 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.374, allocations: 8.312 kB / 1.229 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.374, allocations: 4.375 kB / 1.229 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3742, allocations: 77.91 kB / 1.229 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3742, allocations: 0 / 1.229 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3742, allocations: 0 / 1.229 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3742, allocations: 0 / 1.229 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.3743, allocations: 35.97 kB / 1.229 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.3749, allocations: 316.7 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3751, allocations: 50.5 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.3751, allocations: 32.97 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3752, allocations: 3.984 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.3753, allocations: 79.45 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3754, allocations: 0 / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003934/0.3758, allocations: 141.5 kB / 1.23 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3758, allocations: 55.41 kB / 1.23 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3759, allocations: 121.8 kB / 1.23 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3759, allocations: 33.69 kB / 1.23 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.376, allocations: 88.14 kB / 1.23 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.376, allocations: 15.91 kB / 1.23 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.3761, allocations: 29.7 kB / 1.23 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3762, allocations: 326.8 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.3763, allocations: 19.98 kB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.3764, allocations: 46.56 kB / 1.23 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.3766, allocations: 86.47 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3766, allocations: 0 / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000231/0.3768, allocations: 117.5 kB / 1.231 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3769, allocations: 4 kB / 1.231 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3769, allocations: 400 / 1.231 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3769, allocations: 4.062 kB / 1.231 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.377, allocations: 15.98 kB / 1.231 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.377, allocations: 0 / 1.231 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.3771, allocations: 7.938 kB / 1.231 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.3771, allocations: 11.98 kB / 1.231 GB, free: 3.879 MB / 0.9825 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 9.027e-05/0.3772, allocations: 126.2 kB / 1.231 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.3772, allocations: 11.89 kB / 1.231 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.3773, allocations: 12.38 kB / 1.231 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3773, allocations: 0 / 1.231 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3773, allocations: 0 / 1.231 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3773, allocations: 4 kB / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.3777, allocations: 382.4 kB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3777, allocations: 0 / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.3778, allocations: 11.92 kB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3778, allocations: 0 / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3778, allocations: 0 / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3778, allocations: 4 kB / 1.231 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3778, allocations: 3.938 kB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.3781, allocations: 207.5 kB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.3781, allocations: 81.06 kB / 1.231 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3782, allocations: 4 kB / 1.231 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.3783, allocations: 0 / 1.231 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.3783, allocations: 15.92 kB / 1.231 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3783, allocations: 4 kB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.338e-05/0.3784, allocations: 95.27 kB / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3784, allocations: 0 / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002827/0.3787, allocations: 47.8 kB / 1.232 GB, free: 2.785 MB / 0.9825 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.0003328/0.379, allocations: 166.7 kB / 1.232 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.3793, allocations: 67.97 kB / 1.232 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3793, allocations: 0 / 1.232 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.3794, allocations: 43.89 kB / 1.232 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3796, allocations: 8 kB / 1.232 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.38, allocations: 184.8 kB / 1.232 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.3803, allocations: 0.6886 MB / 1.233 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.3803, allocations: 7.984 kB / 1.233 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.3804, allocations: 11.44 kB / 1.233 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.3804, allocations: 3.938 kB / 1.233 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.004/0.3844, allocations: 1.452 MB / 1.234 GB, free: 124 kB / 0.9825 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