Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 387.1 MB / 399.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 180.9 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009348/0.0009348, allocations: 91.89 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.728e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3558, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.441, allocations: 151.2 MB / 1.36 GB, free: 18.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.442, allocations: 81.02 kB / 1.36 GB, free: 18.88 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.009056/1.451, allocations: 3.017 MB / 1.363 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/1.451, allocations: 0 / 1.363 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.451, allocations: 0 / 1.363 GB, free: 34.42 MB / 0.8386 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.000424/1.451, allocations: 422.5 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.451, allocations: 11.5 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/1.451, allocations: 7.719 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.195e-05/1.451, allocations: 168.5 kB / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/1.451, allocations: 0 / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/1.451, allocations: 9.297 kB / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/1.452, allocations: 54.27 kB / 1.364 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/1.452, allocations: 11.86 kB / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/1.452, allocations: 9.094 kB / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.452, allocations: 0 / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.733e-05/1.452, allocations: 23.19 kB / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/1.452, allocations: 318.9 kB / 1.364 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/1.452, allocations: 41.19 kB / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/1.452, allocations: 31.95 kB / 1.364 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/1.452, allocations: 1.547 kB / 1.364 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/1.452, allocations: 69.33 kB / 1.364 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/1.452, allocations: 0 / 1.364 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002184/1.453, allocations: 94.02 kB / 1.364 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/1.453, allocations: 64.41 kB / 1.364 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.211e-05/1.453, allocations: 110.5 kB / 1.364 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/1.453, allocations: 33.55 kB / 1.364 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/1.453, allocations: 92.45 kB / 1.365 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/1.453, allocations: 16.7 kB / 1.365 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/1.453, allocations: 0 / 1.365 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.453, allocations: 324.8 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.47e-05/1.453, allocations: 19.03 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.854e-05/1.453, allocations: 40.64 kB / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.128e-05/1.453, allocations: 25.31 kB / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.453, allocations: 0 / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001426/1.453, allocations: 105.3 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.453, allocations: 13.06 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.453, allocations: 160 / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/1.453, allocations: 0 / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/1.454, allocations: 14.91 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.454, allocations: 7.922 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/1.454, allocations: 20.92 kB / 1.365 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/1.454, allocations: 5.203 kB / 1.365 GB, free: 32.67 MB / 0.8386 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 () * 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 6.982e-05/1.454, allocations: 108.4 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/1.454, allocations: 7.781 kB / 1.365 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/1.454, allocations: 6.172 kB / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.454, allocations: 3.812 kB / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.454, allocations: 0 / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/1.454, allocations: 0 / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/1.454, allocations: 370.9 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.454, allocations: 0 / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/1.454, allocations: 5.453 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.454, allocations: 0 / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/1.454, allocations: 1.688 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/1.454, allocations: 3.969 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.454, allocations: 3.953 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/1.454, allocations: 198.5 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/1.454, allocations: 77.11 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/1.455, allocations: 5.234 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/1.455, allocations: 9.266 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/1.455, allocations: 13.44 kB / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/1.455, allocations: 1.594 kB / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.205e-05/1.455, allocations: 92 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.455, allocations: 0 / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002873/1.455, allocations: 57.19 kB / 1.366 GB, free: 31.91 MB / 0.8386 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 () * 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.0003498/1.455, allocations: 173.6 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001469/1.456, allocations: 59.27 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.456, allocations: 3.938 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.62e-05/1.456, allocations: 27.84 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/1.456, allocations: 13.39 kB / 1.366 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/1.456, allocations: 100.3 kB / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/1.456, allocations: 0.6939 MB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.772e-05/1.456, allocations: 9.766 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/1.456, allocations: 9.031 kB / 1.367 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.456, allocations: 3.938 kB / 1.367 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of Templates: time 0.003713/1.46, allocations: 1.532 MB / 1.369 GB, free: 30.87 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","../files/Buildings_9_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.f,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