Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.485/1.485, allocations: 249.3 MB / 261.9 MB, free: 5.836 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.001255/0.001255, allocations: 186.5 kB / 321.3 MB, free: 14.64 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.496/1.496, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.0008482/0.0008482, allocations: 98.45 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.59e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2546, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7347/0.9893, allocations: 134 MB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.9897, allocations: 87.17 kB / 1.023 GB, free: 0.7188 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.01001/0.9997, allocations: 3.233 MB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9997, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.9997, allocations: 0 / 1.026 GB, free: 13.94 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.0005992/1, allocations: 444.8 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1, allocations: 12.03 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/1, allocations: 11.84 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/1.001, allocations: 171.7 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/1.001, allocations: 7.875 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/1.001, allocations: 4 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/1.001, allocations: 75.64 kB / 1.027 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/1.001, allocations: 4 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/1.001, allocations: 0 / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.001, allocations: 0 / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.476e-05/1.001, allocations: 27.19 kB / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007869/1.002, allocations: 360.2 kB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/1.002, allocations: 49.31 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/1.002, allocations: 39.61 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/1.002, allocations: 4 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/1.002, allocations: 93.55 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/1.002, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0003211/1.003, allocations: 124.7 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/1.003, allocations: 59.5 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.003, allocations: 119.8 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/1.003, allocations: 33.08 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/1.003, allocations: 99.19 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/1.003, allocations: 15.11 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/1.003, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.003, allocations: 318.3 kB / 1.028 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/1.003, allocations: 18.94 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/1.003, allocations: 63.09 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.739e-05/1.003, allocations: 31.3 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.003, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002133/1.003, allocations: 118.2 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.003, allocations: 4 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.003, allocations: 4 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.004, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/1.004, allocations: 18.83 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.004, allocations: 4.062 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/1.004, allocations: 23.84 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/1.004, allocations: 4 kB / 1.028 GB, free: 11.59 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 9.475e-05/1.004, allocations: 119.4 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/1.004, allocations: 4 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/1.004, allocations: 11.67 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.004, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.004, allocations: 8 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.004, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/1.004, allocations: 405.8 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.004, allocations: 0 / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/1.004, allocations: 11.92 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.005, allocations: 4 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/1.005, allocations: 3.25 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.005, allocations: 0 / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.005, allocations: 7.938 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/1.005, allocations: 224.7 kB / 1.029 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/1.005, allocations: 81.02 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/1.005, allocations: 4 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/1.005, allocations: 7.984 kB / 1.029 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/1.005, allocations: 15.44 kB / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/1.005, allocations: 3.938 kB / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.989e-05/1.005, allocations: 98.64 kB / 1.029 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.005, allocations: 0 / 1.029 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002934/1.005, allocations: 55.75 kB / 1.029 GB, free: 10.55 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.0004173/1.006, allocations: 159.6 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002063/1.006, allocations: 88.75 kB / 1.029 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.006, allocations: 4 kB / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.48e-05/1.006, allocations: 37.05 kB / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/1.006, allocations: 7.875 kB / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/1.007, allocations: 128.3 kB / 1.03 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/1.007, allocations: 0.6926 MB / 1.03 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.419e-05/1.007, allocations: 4.125 kB / 1.03 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/1.007, allocations: 15.42 kB / 1.03 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of SimCode: time 3.3e-07/1.007, allocations: 0 / 1.03 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of Templates: time 0.004635/1.012, allocations: 1.817 MB / 1.032 GB, free: 7.629 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.freqHz,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0