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.0009624/0.0009627, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008222/0.008222, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.991/2.991, allocations: 462.6 MB / 0.7364 GB, free: 328 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003876, allocations: 8.75 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3301, allocations: 159.6 MB / 1.059 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001782/0.332, allocations: 1.206 MB / 1.06 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3335, allocations: 0.7284 MB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.3335, allocations: 4 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.3336, allocations: 0 / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.3336, allocations: 11.88 kB / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.3344, allocations: 99.77 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3345, allocations: 79.75 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3346, allocations: 8 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3347, allocations: 27.86 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.729e-05/0.3348, allocations: 43.81 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.3348, allocations: 4 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.3351, allocations: 87.91 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.3351, allocations: 15.92 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.3352, allocations: 53.56 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.3354, allocations: 139.8 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3354, allocations: 0 / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3354, allocations: 0 / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3354, allocations: 0 / 1.061 GB, free: 3.035 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.0006568/0.3361, allocations: 409.1 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3362, allocations: 8.031 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.3362, allocations: 12.84 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3363, allocations: 176.2 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.3364, allocations: 4.375 kB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.3364, allocations: 4.375 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.3366, allocations: 77.97 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3366, allocations: 4 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3366, allocations: 0 / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3367, allocations: 7.938 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.3368, allocations: 43.91 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.3375, allocations: 324.7 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3376, allocations: 50.56 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.327e-05/0.3377, allocations: 32.97 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3378, allocations: 4.078 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.338, allocations: 91.3 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.338, allocations: 0 / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004533/0.3385, allocations: 137.6 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.3385, allocations: 55.41 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3387, allocations: 125.7 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3387, allocations: 29.7 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.3388, allocations: 88.14 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.3388, allocations: 19.73 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.3388, allocations: 17.72 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.339, allocations: 326.8 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/0.339, allocations: 31.92 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.3392, allocations: 54.53 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.3393, allocations: 74.56 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3393, allocations: 4 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003027/0.3397, allocations: 117.8 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3397, allocations: 7.938 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3397, allocations: 4.141 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3397, allocations: 4 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3398, allocations: 15.92 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.3399, allocations: 3.984 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.3399, allocations: 15.94 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.34, allocations: 7.984 kB / 1.063 GB, free: 456 kB / 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.0001078/0.3401, allocations: 122.8 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.3401, allocations: 11.91 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.3401, allocations: 8.375 kB / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3402, allocations: 0 / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3402, allocations: 0 / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3402, allocations: 0 / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.3407, allocations: 390.3 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3407, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.3408, allocations: 11.98 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3408, allocations: 0 / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.3408, allocations: 8 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3408, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3408, allocations: 3.938 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.3412, allocations: 219.3 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.3412, allocations: 81.02 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.3413, allocations: 4 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.3414, allocations: 11.98 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.3414, allocations: 3.938 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3414, allocations: 4 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.3415, allocations: 91.92 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3415, allocations: 0 / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003125/0.3418, allocations: 43.98 kB / 1.064 GB, free: 15.36 MB / 0.8262 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.0003675/0.3422, allocations: 160.9 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3425, allocations: 83.91 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3425, allocations: 0 / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3426, allocations: 47.89 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.3428, allocations: 8 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.3433, allocations: 211.2 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3435, allocations: 0.6887 MB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.944e-05/0.3436, allocations: 4 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.3436, allocations: 7.438 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of SimCode: time 9.42e-07/0.3436, allocations: 0 / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.004807/0.3484, allocations: 1.379 MB / 1.067 GB, free: 12.73 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