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.001605/0.001605, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002245/0.002245, allocations: 191 kB / 16.25 MB, free: 6.637 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.744/2.744, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 70.84 kB / 0.8986 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3393, allocations: 157.4 MB / 1.052 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003191/0.3426, allocations: 1.54 MB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3439, allocations: 0.7366 MB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.344, allocations: 3.938 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.01e-05/0.344, allocations: 11.92 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/0.3441, allocations: 3.938 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.3447, allocations: 107.8 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3448, allocations: 79.77 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.345, allocations: 8 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3451, allocations: 35.91 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.459e-05/0.3452, allocations: 39.83 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.3452, allocations: 8 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.3454, allocations: 95.84 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.3455, allocations: 19.91 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.3455, allocations: 31.86 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.3458, allocations: 143.9 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3458, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3458, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.3458, allocations: 0 / 1.055 GB, free: 5.918 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.0007015/0.3465, allocations: 421 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3466, allocations: 8.031 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.3467, allocations: 8.844 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3468, allocations: 176.2 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.3468, allocations: 4.375 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3469, allocations: 8.375 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.3471, allocations: 73.95 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3471, allocations: 4 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3471, allocations: 0 / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3471, allocations: 0 / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.3473, allocations: 35.97 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/0.348, allocations: 324.6 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.3481, allocations: 50.5 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3483, allocations: 36.95 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.3483, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.3486, allocations: 79.38 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3486, allocations: 0 / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004301/0.349, allocations: 141.5 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.3491, allocations: 59.41 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3492, allocations: 117.8 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.3492, allocations: 29.7 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.3493, allocations: 88.14 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.3493, allocations: 23.73 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.3494, allocations: 29.7 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3495, allocations: 322.8 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.064e-05/0.3496, allocations: 19.98 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.406e-05/0.3497, allocations: 54.92 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3498, allocations: 74.48 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3499, allocations: 8 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002357/0.3501, allocations: 109.8 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3501, allocations: 12.77 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3501, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3502, allocations: 64 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.3503, allocations: 12 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3503, allocations: 8.062 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.3504, allocations: 15.89 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3504, allocations: 7.938 kB / 1.057 GB, free: 3.355 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.0001008/0.3505, allocations: 121.7 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.3505, allocations: 4 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.3505, allocations: 12.36 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3505, allocations: 4 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3506, allocations: 0 / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3506, allocations: 0 / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.351, allocations: 386.3 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.351, allocations: 0 / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.3511, allocations: 0 / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3511, allocations: 4 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3511, allocations: 7.984 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3511, allocations: 0 / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3511, allocations: 7.938 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3514, allocations: 207.4 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.3514, allocations: 77.11 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3515, allocations: 0 / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.3516, allocations: 15.92 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.3516, allocations: 7.938 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3516, allocations: 11.92 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.3517, allocations: 95.27 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3517, allocations: 0 / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003227/0.352, allocations: 36 kB / 1.058 GB, free: 2.277 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.000323/0.3523, allocations: 157.5 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003042/0.3526, allocations: 71.89 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3527, allocations: 3.938 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.559e-05/0.3528, allocations: 39.98 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.353, allocations: 3.984 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.3534, allocations: 205 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.3537, allocations: 0.6885 MB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.785e-05/0.3537, allocations: 4 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.3538, allocations: 11.44 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3538, allocations: 0 / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of Templates: time 0.004191/0.358, allocations: 1.421 MB / 1.061 GB, free: 15.64 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