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.488/1.488, allocations: 249.3 MB / 261.8 MB, free: 5.867 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.001014/0.001014, allocations: 180.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0007681/0.0007682, allocations: 90.48 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.048e-05/4.057e-05, allocations: 4 kB / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2299, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7819/1.012, allocations: 133.7 MB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.012, allocations: 87.25 kB / 1.022 GB, free: 1.004 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.009438/1.022, allocations: 2.981 MB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.324e-06/1.022, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.615e-06/1.022, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.6511 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.0005969/1.022, allocations: 411.2 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/1.022, allocations: 11.97 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/1.022, allocations: 7.906 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/1.023, allocations: 170.9 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/1.023, allocations: 7.25 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/1.023, allocations: 7.984 kB / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/1.023, allocations: 64.53 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/1.023, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/1.023, allocations: 3.984 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.023, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/1.023, allocations: 30 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007421/1.024, allocations: 310.7 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.991e-05/1.024, allocations: 45.14 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/1.024, allocations: 26.72 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/1.024, allocations: 2.812 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/1.024, allocations: 77.06 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/1.024, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003654/1.025, allocations: 94.16 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/1.025, allocations: 67.34 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/1.025, allocations: 111.8 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/1.025, allocations: 25.7 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/1.025, allocations: 87.77 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/1.025, allocations: 23.05 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/1.025, allocations: 3.75 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.025, allocations: 314 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/1.025, allocations: 15.75 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/1.025, allocations: 63.45 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.989e-05/1.025, allocations: 23.36 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.025, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001733/1.026, allocations: 103.2 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.026, allocations: 4 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.026, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.026, allocations: 8.062 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/1.026, allocations: 15.92 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.026, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/1.026, allocations: 15.86 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/1.026, allocations: 4 kB / 1.027 GB, free: 12.25 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 0.0001174/1.026, allocations: 108 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/1.026, allocations: 4 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/1.026, allocations: 19.75 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.026, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.026, allocations: 4.062 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.026, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/1.027, allocations: 370.8 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.027, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/1.027, allocations: 8 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.027, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/1.027, allocations: 3.984 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/1.027, allocations: 4 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/1.027, allocations: 3.953 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/1.027, allocations: 192.7 kB / 1.028 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/1.027, allocations: 81.02 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/1.027, allocations: 8.031 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/1.027, allocations: 11.8 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/1.027, allocations: 7.938 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/1.027, allocations: 8 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.665e-05/1.027, allocations: 87.03 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.027, allocations: 7.938 kB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003114/1.028, allocations: 51.11 kB / 1.028 GB, free: 11.27 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.0004666/1.028, allocations: 167.7 kB / 1.028 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001894/1.028, allocations: 63.36 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.028, allocations: 0 / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/1.028, allocations: 30.86 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/1.029, allocations: 13.52 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/1.029, allocations: 94.72 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/1.029, allocations: 0.6926 MB / 1.029 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.166e-05/1.029, allocations: 8.703 kB / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/1.029, allocations: 11.44 kB / 1.029 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/1.029, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of Templates: time 0.00421/1.034, allocations: 1.539 MB / 1.031 GB, free: 8.664 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