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.465/1.465, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001329/0.001329, allocations: 183.1 kB / 326.5 MB, free: 2.262 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.613/1.613, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009421/0.0009419, allocations: 91.73 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 9.781 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1814/0.4237, allocations: 134 MB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.4241, allocations: 83.95 kB / 1.031 GB, free: 9.664 MB / 0.6823 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.01038/0.4345, allocations: 3.24 MB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4345, allocations: 0 / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.4345, allocations: 4 kB / 1.034 GB, free: 6.414 MB / 0.6823 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.0005951/0.4351, allocations: 459 kB / 1.035 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.4352, allocations: 8.031 kB / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.4352, allocations: 11.98 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.4354, allocations: 186.7 kB / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.4354, allocations: 4 kB / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.4355, allocations: 4 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.4357, allocations: 97.56 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4357, allocations: 0 / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.4358, allocations: 0 / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4358, allocations: 4 kB / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.436, allocations: 59.89 kB / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/0.4368, allocations: 344.7 kB / 1.035 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.437, allocations: 66.55 kB / 1.035 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.437, allocations: 4 kB / 1.035 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.4372, allocations: 95.39 kB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.4372, allocations: 0 / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.4378, allocations: 205.6 kB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.4379, allocations: 55.36 kB / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.438, allocations: 122.9 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.438, allocations: 29.7 kB / 1.036 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.4381, allocations: 96 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.4381, allocations: 11.81 kB / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.4381, allocations: 4 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4383, allocations: 326.8 kB / 1.036 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.4384, allocations: 31.97 kB / 1.036 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.4385, allocations: 66.09 kB / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.4386, allocations: 39.98 kB / 1.036 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4386, allocations: 4 kB / 1.036 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002642/0.4389, allocations: 137.4 kB / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4389, allocations: 9.188 kB / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4389, allocations: 0 / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4389, allocations: 4 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.439, allocations: 15.98 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4391, allocations: 0 / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.298e-05/0.4391, allocations: 23.8 kB / 1.037 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.4392, allocations: 4 kB / 1.037 GB, free: 3.699 MB / 0.6823 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 () * Number of clocked 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.0001115/0.4393, allocations: 125.8 kB / 1.037 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.4393, allocations: 4 kB / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.4393, allocations: 8.375 kB / 1.037 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4393, allocations: 7.938 kB / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4394, allocations: 0 / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4394, allocations: 0 / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005979/0.44, allocations: 446.2 kB / 1.037 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.44, allocations: 4 kB / 1.037 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.44, allocations: 4 kB / 1.037 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.44, allocations: 0 / 1.037 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.4401, allocations: 3.984 kB / 1.037 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4401, allocations: 0 / 1.037 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4401, allocations: 3.953 kB / 1.037 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.4405, allocations: 251.4 kB / 1.037 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.4405, allocations: 77.16 kB / 1.038 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.4406, allocations: 15.97 kB / 1.038 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.4407, allocations: 8.062 kB / 1.038 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.4407, allocations: 11.97 kB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.4408, allocations: 7.953 kB / 1.038 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.786e-05/0.4408, allocations: 105 kB / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4408, allocations: 0 / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003359/0.4412, allocations: 59.83 kB / 1.038 GB, free: 2.48 MB / 0.6823 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) * Number of clocked states: 0 () * 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.0003909/0.4416, allocations: 162.1 kB / 1.038 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003029/0.4419, allocations: 99.88 kB / 1.038 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4419, allocations: 3.938 kB / 1.038 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.4421, allocations: 47.98 kB / 1.038 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.4423, allocations: 16.17 kB / 1.038 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.4428, allocations: 225.9 kB / 1.038 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.4431, allocations: 0.6956 MB / 1.039 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.19e-05/0.4431, allocations: 7.984 kB / 1.039 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.4432, allocations: 11.44 kB / 1.039 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of SimCode: time 5.51e-07/0.4432, allocations: 0 / 1.039 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of Templates: time 0.004543/0.4477, allocations: 1.797 MB / 1.041 GB, free: 15.39 MB / 0.698 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