Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001028/0.001028, allocations: 189 kB / 326.5 MB, free: 2.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.636/1.636, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.0008194/0.0008194, allocations: 87.91 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 9.906 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2383, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.4141, allocations: 134.2 MB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.4145, allocations: 83.95 kB / 1.031 GB, free: 9.508 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.01226/0.4268, allocations: 3.826 MB / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4268, allocations: 0 / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.4268, allocations: 0 / 1.035 GB, free: 5.664 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007612/0.4276, allocations: 0.5367 MB / 1.035 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.4276, allocations: 8.031 kB / 1.035 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.4277, allocations: 11.86 kB / 1.035 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.4278, allocations: 197.3 kB / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.4279, allocations: 4 kB / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.4279, allocations: 8 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.4284, allocations: 153.5 kB / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4284, allocations: 0 / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.4284, allocations: 12 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4284, allocations: 0 / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.4288, allocations: 123.8 kB / 1.036 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.4299, allocations: 412.6 kB / 1.036 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.4302, allocations: 114.5 kB / 1.036 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.4303, allocations: 12.08 kB / 1.036 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004143/0.4307, allocations: 155.3 kB / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.4307, allocations: 0 / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.001103/0.4318, allocations: 353.2 kB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.4319, allocations: 55.41 kB / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.432, allocations: 133.1 kB / 1.037 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.4321, allocations: 29.7 kB / 1.037 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.4321, allocations: 108.2 kB / 1.037 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.4322, allocations: 19.83 kB / 1.037 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.4322, allocations: 7.938 kB / 1.037 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4323, allocations: 324.7 kB / 1.038 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.4325, allocations: 48.34 kB / 1.038 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.4326, allocations: 93.05 kB / 1.038 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.4328, allocations: 51.98 kB / 1.038 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4328, allocations: 0 / 1.038 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003532/0.4332, allocations: 177.4 kB / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.4332, allocations: 8 kB / 1.038 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4332, allocations: 0 / 1.038 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.4332, allocations: 0 / 1.038 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.4334, allocations: 35.88 kB / 1.038 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4334, allocations: 0 / 1.038 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.4335, allocations: 20.05 kB / 1.038 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.4336, allocations: 4 kB / 1.038 GB, free: 2.25 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$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.000123/0.4337, allocations: 129.8 kB / 1.038 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.4337, allocations: 11.81 kB / 1.038 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.4338, allocations: 8.719 kB / 1.038 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4338, allocations: 4 kB / 1.038 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4338, allocations: 3.953 kB / 1.038 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4338, allocations: 0 / 1.038 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.4348, allocations: 0.553 MB / 1.039 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4348, allocations: 0 / 1.039 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-05/0.4349, allocations: 23.92 kB / 1.039 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.4349, allocations: 96 / 1.039 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.435, allocations: 11.92 kB / 1.039 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.435, allocations: 0 / 1.039 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.435, allocations: 0 / 1.039 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007502/0.4357, allocations: 359.2 kB / 1.039 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.4358, allocations: 88.92 kB / 1.039 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.4358, allocations: 4 kB / 1.039 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.4361, allocations: 35.92 kB / 1.039 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.4361, allocations: 7.984 kB / 1.039 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.4361, allocations: 3.984 kB / 1.039 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.783e-05/0.4362, allocations: 111.3 kB / 1.039 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4362, allocations: 192 / 1.039 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003334/0.4366, allocations: 55.92 kB / 1.039 GB, free: 0.75 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003818/0.437, allocations: 186.5 kB / 1.04 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005395/0.4375, allocations: 163.8 kB / 1.04 GB, free: 424 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4375, allocations: 0 / 1.04 GB, free: 424 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.4379, allocations: 100.2 kB / 1.04 GB, free: 324 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.438, allocations: 14.22 kB / 1.04 GB, free: 312 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.4387, allocations: 305 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.439, allocations: 0.7004 MB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.536e-05/0.4391, allocations: 8.172 kB / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.4391, allocations: 11.44 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/0.4391, allocations: 3.938 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of Templates: time 0.004922/0.4441, allocations: 1.984 MB / 1.043 GB, free: 13.28 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches