Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001439/0.001439, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 16 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6765, allocations: 153.6 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001592/0.6781, allocations: 1.2 MB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.6793, allocations: 0.6667 MB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.6793, allocations: 7.938 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.6794, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.626e-05/0.6794, allocations: 11.97 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.6799, allocations: 99.64 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.68, allocations: 47.92 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.6801, allocations: 4 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.6802, allocations: 23.92 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.6803, allocations: 43.81 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.6803, allocations: 4 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.6804, allocations: 63.95 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.6805, allocations: 15.91 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.6805, allocations: 37.7 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.6807, allocations: 93.73 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6807, allocations: 0 / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.205e-06/0.6807, allocations: 0 / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6807, allocations: 0 / 1.023 GB, free: 14.76 MB / 0.7794 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.0005729/0.6813, allocations: 420.7 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.6813, allocations: 19.98 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.6814, allocations: 7.906 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.6815, allocations: 171 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.6815, allocations: 3.938 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.6816, allocations: 11.95 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.6817, allocations: 65.66 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.6818, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.6818, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.6818, allocations: 8 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.6819, allocations: 43.91 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.6825, allocations: 324.6 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.6826, allocations: 54.55 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.6827, allocations: 0 / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.6829, allocations: 83.56 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 3.096e-06/0.6829, allocations: 11.92 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003872/0.6833, allocations: 141.5 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.6833, allocations: 55.41 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.6834, allocations: 125.8 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.6834, allocations: 25.7 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.6835, allocations: 92.33 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.6835, allocations: 11.81 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.6835, allocations: 4 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.6836, allocations: 318.8 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.6837, allocations: 27.98 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.681e-05/0.6838, allocations: 54.55 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.227e-05/0.6839, allocations: 43.88 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6839, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002478/0.6842, allocations: 129.8 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6842, allocations: 4 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6842, allocations: 0 / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.6842, allocations: 0 / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.6843, allocations: 15.98 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6843, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.6844, allocations: 19.83 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.6844, allocations: 4 kB / 1.025 GB, free: 12.27 MB / 0.7794 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,$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 9.005e-05/0.6845, allocations: 127.5 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.6846, allocations: 4 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.6846, allocations: 12.38 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6846, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6846, allocations: 3.984 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6846, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.6851, allocations: 386.4 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6851, allocations: 4 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.6851, allocations: 11.94 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6851, allocations: 0 / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.6851, allocations: 3.938 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6851, allocations: 3.938 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6852, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.6854, allocations: 219.5 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.6855, allocations: 85.02 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.6855, allocations: 0 / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.6856, allocations: 7.984 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.6856, allocations: 8 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.6857, allocations: 3.984 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.6857, allocations: 95.27 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6857, allocations: 4 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003103/0.686, allocations: 36 kB / 1.026 GB, free: 11.18 MB / 0.7794 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 (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.0003429/0.6864, allocations: 159.8 kB / 1.026 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.6866, allocations: 75.95 kB / 1.026 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6866, allocations: 0 / 1.026 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/0.6867, allocations: 43.91 kB / 1.026 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.6869, allocations: 16.45 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.6874, allocations: 201.2 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.6876, allocations: 0.6965 MB / 1.027 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.6876, allocations: 4.188 kB / 1.027 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.6877, allocations: 11.44 kB / 1.027 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6877, allocations: 4 kB / 1.027 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.00399/0.6917, allocations: 1.326 MB / 1.029 GB, free: 8.613 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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