Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 249.3 MB / 261.8 MB, free: 5.984 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.001003/0.001002, allocations: 185.7 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.647/1.647, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008268/0.0008267, allocations: 96.3 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.183e-05/5.203e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2223, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8085/1.031, allocations: 133.9 MB / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/1.031, allocations: 79.89 kB / 1.023 GB, free: 0.8008 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.0101/1.041, allocations: 3.222 MB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.463e-06/1.041, allocations: 0 / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.241e-06/1.041, allocations: 0 / 1.026 GB, free: 14.02 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000527/1.042, allocations: 444.8 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.042, allocations: 8.031 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/1.042, allocations: 15.84 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/1.042, allocations: 171 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/1.042, allocations: 15.62 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/1.042, allocations: 4 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/1.042, allocations: 71.22 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.042, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/1.042, allocations: 4 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/1.042, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/1.042, allocations: 32.92 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008813/1.043, allocations: 353.4 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/1.043, allocations: 51.62 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/1.044, allocations: 31.92 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/1.044, allocations: 7.984 kB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/1.044, allocations: 93.48 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.883e-06/1.044, allocations: 0 / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0003655/1.044, allocations: 122.7 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/1.044, allocations: 59.36 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/1.044, allocations: 119.5 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/1.044, allocations: 25.7 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/1.044, allocations: 98.44 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/1.045, allocations: 23.12 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/1.045, allocations: 3.375 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.045, allocations: 313.7 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/1.045, allocations: 27.98 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/1.045, allocations: 50.42 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.719e-05/1.045, allocations: 34.86 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.045, allocations: 0 / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001884/1.045, allocations: 110.8 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.045, allocations: 4 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.045, allocations: 4 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/1.045, allocations: 3.938 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/1.045, allocations: 15.98 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.045, allocations: 8.094 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/1.045, allocations: 19.53 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/1.045, allocations: 4 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001144/1.046, allocations: 116.4 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/1.046, allocations: 4 kB / 1.028 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/1.046, allocations: 16.39 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.046, allocations: 4 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.046, allocations: 4 kB / 1.028 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.046, allocations: 0 / 1.028 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/1.046, allocations: 405.7 kB / 1.029 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.046, allocations: 4 kB / 1.029 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/1.046, allocations: 11.92 kB / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/1.046, allocations: 0 / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.046, allocations: 2.438 kB / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.046, allocations: 4.062 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/1.046, allocations: 3.953 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/1.047, allocations: 228.5 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/1.047, allocations: 81.02 kB / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/1.047, allocations: 7.188 kB / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/1.047, allocations: 11.92 kB / 1.029 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/1.047, allocations: 7.953 kB / 1.029 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.047, allocations: 3.984 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.603e-05/1.047, allocations: 102.2 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.047, allocations: 0 / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003074/1.047, allocations: 55.11 kB / 1.029 GB, free: 10.63 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003822/1.048, allocations: 164.3 kB / 1.029 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001758/1.048, allocations: 71.61 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.048, allocations: 4.062 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/1.048, allocations: 41.22 kB / 1.029 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/1.048, allocations: 4 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/1.048, allocations: 126.4 kB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/1.049, allocations: 0.6965 MB / 1.03 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.491e-05/1.049, allocations: 8 kB / 1.03 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/1.049, allocations: 11.44 kB / 1.03 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.049, allocations: 0 / 1.03 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of Templates: time 0.004656/1.054, allocations: 1.799 MB / 1.032 GB, free: 7.742 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0