Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.608/1.608, allocations: 249.5 MB / 257 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 176.8 kB / 316.3 MB, free: 3.234 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.637/1.637, allocations: 205.3 MB / 0.5671 GB, free: 15.78 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.0009271/0.000927, allocations: 89.23 kB / 0.6714 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.16e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.262, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7413/1.003, allocations: 133.9 MB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.004, allocations: 86.44 kB / 1.016 GB, free: 3.855 MB / 0.6355 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.008852/1.013, allocations: 2.949 MB / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.332e-06/1.013, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.884e-06/1.013, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.6355 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.0004793/1.013, allocations: 411.8 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.013, allocations: 11.97 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/1.013, allocations: 11.91 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/1.013, allocations: 174.9 kB / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/1.013, allocations: 3.984 kB / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/1.013, allocations: 4 kB / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.207e-05/1.013, allocations: 23.8 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/1.014, allocations: 57.98 kB / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/1.014, allocations: 0 / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/1.014, allocations: 0 / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/1.014, allocations: 0 / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/1.014, allocations: 295.5 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.028e-05/1.014, allocations: 40.52 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/1.014, allocations: 19.48 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/1.014, allocations: 8.062 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/1.015, allocations: 67.58 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/1.015, allocations: 0 / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002725/1.015, allocations: 101.5 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/1.015, allocations: 55.39 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/1.015, allocations: 106.6 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/1.015, allocations: 25.7 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/1.015, allocations: 94.5 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/1.015, allocations: 23.06 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/1.015, allocations: 0.9375 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.015, allocations: 322.2 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/1.015, allocations: 18.56 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/1.015, allocations: 42.94 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.251e-05/1.016, allocations: 22.11 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.016, allocations: 4 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002044/1.016, allocations: 96.2 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.016, allocations: 4 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.016, allocations: 4 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/1.016, allocations: 0 / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/1.016, allocations: 19.86 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.016, allocations: 4 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/1.016, allocations: 11.89 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/1.016, allocations: 8.062 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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 9.96e-05/1.016, allocations: 114.2 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/1.016, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/1.016, allocations: 11.94 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.016, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.016, allocations: 3.984 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.016, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/1.017, allocations: 345.4 kB / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/1.017, allocations: 4 kB / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/1.017, allocations: 10.98 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.017, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/1.017, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.017, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.017, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/1.017, allocations: 197.4 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/1.017, allocations: 85.02 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/1.017, allocations: 3.984 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/1.017, allocations: 4 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/1.017, allocations: 15.77 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/1.017, allocations: 0 / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.817e-05/1.017, allocations: 93.02 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.164e-06/1.017, allocations: 0 / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003122/1.018, allocations: 47.86 kB / 1.022 GB, free: 14.29 MB / 0.6511 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.0004193/1.018, allocations: 175.1 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001401/1.018, allocations: 55.17 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.018, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.165e-05/1.018, allocations: 26.25 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/1.019, allocations: 11.89 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/1.019, allocations: 95.72 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/1.019, allocations: 0.6885 MB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.932e-05/1.019, allocations: 8.172 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/1.019, allocations: 11.44 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.019, allocations: 0 / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of Templates: time 0.003821/1.023, allocations: 1.5 MB / 1.024 GB, free: 11.73 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.freqHz,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0