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.381/1.381, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001336/0.001336, allocations: 180.6 kB / 326.5 MB, free: 2.262 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.819/1.819, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0008239/0.0008238, allocations: 98.08 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003279, allocations: 8.906 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2049, allocations: 106.3 MB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.3681, allocations: 133.7 MB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.3684, allocations: 87.94 kB / 1.031 GB, free: 10.48 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.009082/0.3775, allocations: 2.986 MB / 1.034 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3775, allocations: 4 kB / 1.034 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3776, allocations: 0 / 1.034 GB, free: 7.488 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.0005274/0.3781, allocations: 424.7 kB / 1.034 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3781, allocations: 8.031 kB / 1.034 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.3782, allocations: 7.906 kB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3783, allocations: 175 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.3784, allocations: 4 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3784, allocations: 8 kB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3786, allocations: 77.62 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3786, allocations: 3.938 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3786, allocations: 0 / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3786, allocations: 0 / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.3788, allocations: 43.97 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.3794, allocations: 328.5 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.3796, allocations: 54.55 kB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.3796, allocations: 4 kB / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.3798, allocations: 75.5 kB / 1.035 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.286e-06/0.3798, allocations: 3.984 kB / 1.035 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004053/0.3802, allocations: 157.5 kB / 1.035 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.3803, allocations: 55.36 kB / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.3804, allocations: 109.3 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.3804, allocations: 29.7 kB / 1.035 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.3805, allocations: 92.31 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.3805, allocations: 11.81 kB / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.3805, allocations: 4 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3807, allocations: 322.8 kB / 1.036 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.3807, allocations: 27.98 kB / 1.036 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.3809, allocations: 59.45 kB / 1.036 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.966e-05/0.381, allocations: 39.94 kB / 1.036 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.381, allocations: 0 / 1.036 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002363/0.3812, allocations: 117.5 kB / 1.036 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3812, allocations: 8 kB / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.3812, allocations: 0 / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3813, allocations: 0 / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.811e-05/0.3814, allocations: 24.05 kB / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3814, allocations: 0 / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.818e-05/0.3815, allocations: 15.83 kB / 1.036 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.3815, allocations: 4 kB / 1.036 GB, free: 5.004 MB / 0.6823 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 () * 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.489e-05/0.3816, allocations: 117.8 kB / 1.036 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.3816, allocations: 7.906 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.3816, allocations: 12.44 kB / 1.036 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3816, allocations: 8 kB / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3817, allocations: 0 / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3817, allocations: 0 / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.3821, allocations: 388.2 kB / 1.036 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3821, allocations: 4 kB / 1.036 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.3822, allocations: 7.984 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3822, allocations: 4 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3822, allocations: 0 / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3822, allocations: 0 / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3822, allocations: 3.953 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.3825, allocations: 215.4 kB / 1.037 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.3825, allocations: 92.94 kB / 1.037 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3825, allocations: 4 kB / 1.037 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.3826, allocations: 4 kB / 1.037 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.3827, allocations: 15.86 kB / 1.037 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3827, allocations: 3.953 kB / 1.037 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.206e-05/0.3828, allocations: 91.27 kB / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3828, allocations: 0 / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002922/0.3831, allocations: 55.92 kB / 1.037 GB, free: 3.891 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.0003815/0.3835, allocations: 176.3 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.3837, allocations: 71.91 kB / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3837, allocations: 0 / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.3838, allocations: 48.08 kB / 1.037 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.384, allocations: 4.516 kB / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.3844, allocations: 205.1 kB / 1.037 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.3846, allocations: 0.6926 MB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.679e-05/0.3847, allocations: 8.172 kB / 1.038 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.3847, allocations: 11.44 kB / 1.038 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.3847, allocations: 0 / 1.038 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of Templates: time 0.003794/0.3885, allocations: 1.523 MB / 1.04 GB, free: 1.117 MB / 0.6823 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