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.499/1.499, allocations: 249.5 MB / 257 MB, free: 6.906 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.001043/0.001043, allocations: 180.9 kB / 316.3 MB, free: 3.121 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.779/1.779, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008575/0.0008576, allocations: 88.86 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.586e-05/1.588e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2264, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7745/1.001, allocations: 134.2 MB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.001, allocations: 86 kB / 1.016 GB, free: 3.566 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.009649/1.011, allocations: 3.205 MB / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.172e-06/1.011, allocations: 0 / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.011, allocations: 0 / 1.02 GB, free: 0.8398 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.0005471/1.012, allocations: 457.1 kB / 1.02 GB, free: 352 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.012, allocations: 16.03 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/1.012, allocations: 7.906 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/1.012, allocations: 169.3 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/1.012, allocations: 0 / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/1.012, allocations: 7.688 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.489e-05/1.012, allocations: 35.92 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/1.012, allocations: 70.97 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.012, allocations: 0 / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/1.012, allocations: 0 / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.012, allocations: 3.984 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/1.013, allocations: 320.9 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/1.013, allocations: 57.47 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/1.013, allocations: 27.98 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/1.013, allocations: 16.08 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/1.013, allocations: 81.59 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/1.013, allocations: 0 / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0003032/1.014, allocations: 118.9 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/1.014, allocations: 51.41 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/1.014, allocations: 119.6 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/1.014, allocations: 25.7 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/1.014, allocations: 103.2 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/1.014, allocations: 7.812 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/1.014, allocations: 3.938 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.014, allocations: 330 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.065e-05/1.014, allocations: 19.06 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/1.014, allocations: 50.61 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.581e-05/1.014, allocations: 31.17 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.014, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00017/1.014, allocations: 107.2 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/1.014, allocations: 4 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.014, allocations: 8 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/1.014, allocations: 0 / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.015, allocations: 19.92 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.015, allocations: 4.094 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/1.015, allocations: 15.84 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/1.015, allocations: 4 kB / 1.022 GB, free: 14.56 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.027e-05/1.015, allocations: 112.9 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/1.015, allocations: 3.984 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/1.015, allocations: 12.19 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/1.015, allocations: 0 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.015, allocations: 4 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/1.015, allocations: 0 / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/1.015, allocations: 385.2 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.015, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/1.015, allocations: 7.984 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.015, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/1.015, allocations: 4 kB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/1.015, allocations: 3.938 kB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/1.015, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/1.016, allocations: 234.9 kB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/1.016, allocations: 81.02 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/1.016, allocations: 0 / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/1.016, allocations: 11.98 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/1.016, allocations: 4 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/1.016, allocations: 3.984 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.685e-05/1.016, allocations: 101.6 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.016, allocations: 0 / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003016/1.016, allocations: 51.3 kB / 1.023 GB, free: 13.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.0003849/1.017, allocations: 171.2 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001575/1.017, allocations: 71.48 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.017, allocations: 3.938 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/1.017, allocations: 36.48 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/1.017, allocations: 12 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/1.017, allocations: 118.4 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/1.018, allocations: 0.6963 MB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.174e-05/1.018, allocations: 8.188 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/1.018, allocations: 11.44 kB / 1.024 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/1.018, allocations: 0 / 1.024 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of Templates: time 0.004201/1.022, allocations: 1.759 MB / 1.026 GB, free: 10.7 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