Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 251.9 MB / 266.9 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 186.1 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 0.5775 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008675/0.0008676, allocations: 98.22 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 8.938 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2317, allocations: 106.3 MB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.4071, allocations: 133.7 MB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.4074, allocations: 83.95 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009383/0.4168, allocations: 2.994 MB / 1.034 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4168, allocations: 4 kB / 1.034 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.4169, allocations: 0 / 1.034 GB, free: 7.52 MB / 0.6823 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.0005926/0.4175, allocations: 421.4 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4175, allocations: 8.031 kB / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.4176, allocations: 7.906 kB / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.4177, allocations: 171 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.4177, allocations: 8 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.4178, allocations: 8 kB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.418, allocations: 65.66 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.418, allocations: 3.938 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.418, allocations: 4 kB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.418, allocations: 0 / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.4182, allocations: 47.91 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007015/0.4189, allocations: 324.6 kB / 1.035 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.419, allocations: 50.56 kB / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.4191, allocations: 7.984 kB / 1.035 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.4193, allocations: 75.45 kB / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.4193, allocations: 0 / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004185/0.4197, allocations: 157.6 kB / 1.035 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.4198, allocations: 55.36 kB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.974e-05/0.4199, allocations: 113 kB / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.4199, allocations: 25.7 kB / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.42, allocations: 88.31 kB / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.42, allocations: 15.81 kB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/0.42, allocations: 4 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4201, allocations: 318.8 kB / 1.036 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.4202, allocations: 31.98 kB / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.649e-05/0.4203, allocations: 50.94 kB / 1.036 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.581e-05/0.4204, allocations: 31.98 kB / 1.036 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4204, allocations: 4 kB / 1.036 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002292/0.4206, allocations: 121.5 kB / 1.036 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4207, allocations: 11.94 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4207, allocations: 0 / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4207, allocations: 0 / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.4208, allocations: 15.98 kB / 1.036 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.4208, allocations: 8.062 kB / 1.036 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.4209, allocations: 15.89 kB / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.4209, allocations: 4 kB / 1.036 GB, free: 5.059 MB / 0.6823 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.4211, allocations: 121.8 kB / 1.036 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.4211, allocations: 7.906 kB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.4211, allocations: 8.375 kB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4212, allocations: 0 / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4212, allocations: 8 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.4212, allocations: 0 / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.4217, allocations: 382.8 kB / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4217, allocations: 0 / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.4218, allocations: 7.984 kB / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4218, allocations: 0 / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.4218, allocations: 12 kB / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4218, allocations: 0 / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4218, allocations: 4.031 kB / 1.036 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.4221, allocations: 221.2 kB / 1.037 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.4222, allocations: 84.95 kB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.4222, allocations: 0 / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.4223, allocations: 16 kB / 1.037 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.4224, allocations: 3.984 kB / 1.037 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.4224, allocations: 7.953 kB / 1.037 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.622e-05/0.4225, allocations: 95.42 kB / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.663e-06/0.4225, allocations: 0 / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003805/0.4229, allocations: 55.86 kB / 1.037 GB, free: 3.945 MB / 0.6823 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,occ.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004424/0.4233, allocations: 170 kB / 1.037 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.4236, allocations: 67.97 kB / 1.037 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4236, allocations: 3.938 kB / 1.037 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.4237, allocations: 44.09 kB / 1.037 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.4239, allocations: 7.938 kB / 1.037 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.4244, allocations: 207.8 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4247, allocations: 0.6965 MB / 1.038 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.585e-05/0.4248, allocations: 12.11 kB / 1.038 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.4248, allocations: 11.44 kB / 1.038 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/0.4248, allocations: 0 / 1.038 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of Templates: time 0.00474/0.4296, allocations: 1.525 MB / 1.04 GB, free: 1.172 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","../files/Buildings_maint.7.0.x_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.freqHz,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0