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.524/1.524, allocations: 249.5 MB / 257 MB, free: 6.914 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.001017/0.001017, allocations: 179.5 kB / 316.3 MB, free: 3.238 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.85/1.85, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008831/0.0008831, allocations: 82.53 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.463e-05/1.464e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2267, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7844/1.011, allocations: 134.2 MB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/1.012, allocations: 86.19 kB / 1.016 GB, free: 3.668 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.01295/1.025, allocations: 3.202 MB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.476e-06/1.025, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.267e-06/1.025, allocations: 7.938 kB / 1.019 GB, free: 0.9375 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005709/1.025, allocations: 447.2 kB / 1.02 GB, free: 464 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.025, allocations: 12.03 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/1.025, allocations: 15.84 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/1.025, allocations: 167 kB / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/1.025, allocations: 0 / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/1.026, allocations: 4 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000104/1.026, allocations: 33.86 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/1.026, allocations: 71.78 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.026, allocations: 0 / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/1.026, allocations: 0 / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.026, allocations: 0 / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/1.027, allocations: 322.4 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.929e-05/1.027, allocations: 44.98 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/1.027, allocations: 35.89 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/1.027, allocations: 3.984 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/1.027, allocations: 87.69 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/1.027, allocations: 3.938 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0003367/1.027, allocations: 115 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/1.027, allocations: 62.58 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/1.027, allocations: 111.7 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/1.028, allocations: 29.69 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/1.028, allocations: 94.56 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/1.028, allocations: 22.88 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/1.028, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.028, allocations: 321.9 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/1.028, allocations: 20.88 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/1.028, allocations: 54.16 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.748e-05/1.028, allocations: 28.73 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.028, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001616/1.028, allocations: 104.2 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.028, allocations: 8 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/1.028, allocations: 3.984 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.028, allocations: 3.938 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/1.028, allocations: 19.11 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.028, allocations: 4 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/1.028, allocations: 12 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/1.028, allocations: 7.984 kB / 1.022 GB, free: 14.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 9.383e-05/1.029, allocations: 120.8 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/1.029, allocations: 7.906 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/1.029, allocations: 7.75 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.029, allocations: 4 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.029, allocations: 0 / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.029, allocations: 7.984 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/1.029, allocations: 377 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.029, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/1.029, allocations: 4 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/1.029, allocations: 4 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/1.029, allocations: 11.23 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.029, allocations: 0 / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.029, allocations: 0 / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/1.029, allocations: 226.1 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/1.03, allocations: 81.02 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/1.03, allocations: 4 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/1.03, allocations: 11.36 kB / 1.022 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/1.03, allocations: 11.98 kB / 1.022 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/1.03, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.628e-05/1.03, allocations: 99.33 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.03, allocations: 4 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003421/1.03, allocations: 51.88 kB / 1.023 GB, free: 13.67 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.0004466/1.031, allocations: 167 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00017/1.031, allocations: 65.17 kB / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.031, allocations: 4.188 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.824e-05/1.031, allocations: 37.11 kB / 1.023 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/1.031, allocations: 15.28 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/1.031, allocations: 116.4 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/1.032, allocations: 0.6963 MB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.269e-05/1.032, allocations: 8 kB / 1.024 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/1.032, allocations: 15.42 kB / 1.024 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.032, allocations: 0 / 1.024 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of Templates: time 0.004505/1.036, allocations: 1.749 MB / 1.025 GB, free: 10.83 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