Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,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.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,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.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001073/0.001073, allocations: 176 kB / 326.5 MB, free: 2.242 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.605/1.605, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001196/0.001196, allocations: 95.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 13.16 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2365, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.4133, allocations: 133.7 MB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.4136, allocations: 87.94 kB / 1.031 GB, free: 9.965 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.009133/0.4228, allocations: 2.99 MB / 1.034 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4228, allocations: 0 / 1.034 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.4228, allocations: 0 / 1.034 GB, free: 6.969 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.0005502/0.4234, allocations: 420.7 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4234, allocations: 15.97 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.4235, allocations: 7.906 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.4236, allocations: 171 kB / 1.034 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.4237, allocations: 15.97 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.4237, allocations: 4 kB / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.4239, allocations: 77.58 kB / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4239, allocations: 0 / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4239, allocations: 0 / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4239, allocations: 4 kB / 1.034 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.4241, allocations: 47.91 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/0.4248, allocations: 328.6 kB / 1.035 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.4249, allocations: 46.56 kB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.4249, allocations: 0 / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.4251, allocations: 79.48 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.266e-06/0.4251, allocations: 4 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004068/0.4255, allocations: 153.5 kB / 1.035 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.4256, allocations: 59.34 kB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.4257, allocations: 113 kB / 1.035 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.4257, allocations: 25.7 kB / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.4258, allocations: 92.33 kB / 1.035 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.4258, allocations: 15.8 kB / 1.035 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.4258, allocations: 4 kB / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.426, allocations: 318.8 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.426, allocations: 23.98 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/0.4261, allocations: 54.55 kB / 1.036 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/0.4262, allocations: 41.8 kB / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4263, allocations: 0 / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002451/0.4265, allocations: 121.5 kB / 1.036 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4265, allocations: 10.66 kB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4265, allocations: 0 / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.4266, allocations: 0 / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.4267, allocations: 8 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4267, allocations: 11.92 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.865e-05/0.4268, allocations: 11.95 kB / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.4268, allocations: 4 kB / 1.036 GB, free: 4.496 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.0001046/0.4269, allocations: 124 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.4269, allocations: 7.906 kB / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.4269, allocations: 12.36 kB / 1.036 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.427, allocations: 0 / 1.036 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.427, allocations: 4 kB / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.427, allocations: 0 / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.4274, allocations: 386.4 kB / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4275, allocations: 0 / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.4275, allocations: 11.94 kB / 1.036 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4275, allocations: 0 / 1.036 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4275, allocations: 7.984 kB / 1.036 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4275, allocations: 0 / 1.036 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4276, allocations: 3.953 kB / 1.036 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.4278, allocations: 211.4 kB / 1.037 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.4279, allocations: 81.02 kB / 1.037 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.4279, allocations: 7.984 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.428, allocations: 15.94 kB / 1.037 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.4281, allocations: 3.984 kB / 1.037 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.4281, allocations: 7.953 kB / 1.037 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.4281, allocations: 95.27 kB / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4282, allocations: 0 / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003173/0.4285, allocations: 47.94 kB / 1.037 GB, free: 3.391 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.0004049/0.4289, allocations: 179.3 kB / 1.037 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.4291, allocations: 75.95 kB / 1.037 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4292, allocations: 0 / 1.037 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.4293, allocations: 39.92 kB / 1.037 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.4295, allocations: 7.984 kB / 1.037 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.4299, allocations: 219.2 kB / 1.037 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.4302, allocations: 0.6887 MB / 1.038 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.795e-05/0.4303, allocations: 4.188 kB / 1.038 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.4303, allocations: 11.44 kB / 1.038 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/0.4303, allocations: 4 kB / 1.038 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of Templates: time 0.004182/0.4345, allocations: 1.517 MB / 1.04 GB, free: 0.6133 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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