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.464/1.464, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.001052/0.001052, allocations: 186.5 kB / 321.3 MB, free: 14.62 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.678/1.678, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0008591/0.0008591, allocations: 96.3 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.712e-05, allocations: 0 / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2329, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.807/1.04, allocations: 134.1 MB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/1.04, allocations: 82.44 kB / 1.023 GB, free: 0.5664 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.01204/1.052, allocations: 3.811 MB / 1.027 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.509e-06/1.052, allocations: 3.984 kB / 1.027 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.052, allocations: 4 kB / 1.027 GB, free: 13.27 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006767/1.053, allocations: 0.5161 MB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.053, allocations: 12.03 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/1.053, allocations: 19.7 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/1.053, allocations: 174.9 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/1.053, allocations: 8 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/1.053, allocations: 7.688 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/1.054, allocations: 98.69 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.054, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/1.054, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.054, allocations: 4 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/1.054, allocations: 50.42 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009895/1.055, allocations: 418 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/1.055, allocations: 60.2 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/1.055, allocations: 46.56 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/1.055, allocations: 7.984 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/1.055, allocations: 101.2 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 3.156e-06/1.055, allocations: 112 / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003645/1.056, allocations: 156.4 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.056, allocations: 55.41 kB / 1.028 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/1.056, allocations: 134 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/1.056, allocations: 36.88 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/1.056, allocations: 93.69 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/1.056, allocations: 22.83 kB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/1.056, allocations: 7.438 kB / 1.028 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.056, allocations: 322.1 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/1.056, allocations: 24.62 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/1.056, allocations: 66.58 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.112e-05/1.056, allocations: 26.94 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.056, allocations: 3.984 kB / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002167/1.057, allocations: 122.2 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.057, allocations: 8 kB / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.057, allocations: 0 / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.057, allocations: 7.953 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/1.057, allocations: 32.12 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.057, allocations: 7.938 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/1.057, allocations: 19.83 kB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/1.057, allocations: 4 kB / 1.029 GB, free: 10.65 MB / 0.6511 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 () * 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.892e-05/1.057, allocations: 111.9 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/1.057, allocations: 7.906 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/1.057, allocations: 16.2 kB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.057, allocations: 7.984 kB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.057, allocations: 7.953 kB / 1.029 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.057, allocations: 3.938 kB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/1.058, allocations: 449 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.058, allocations: 0 / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.443e-05/1.058, allocations: 15.98 kB / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/1.058, allocations: 0 / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/1.058, allocations: 11.62 kB / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/1.058, allocations: 8 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.058, allocations: 0 / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/1.058, allocations: 246.2 kB / 1.03 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/1.058, allocations: 85.02 kB / 1.03 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/1.058, allocations: 4 kB / 1.03 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/1.059, allocations: 35.86 kB / 1.03 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/1.059, allocations: 11.61 kB / 1.03 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/1.059, allocations: 11.98 kB / 1.03 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.517e-05/1.059, allocations: 106.6 kB / 1.03 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.059, allocations: 0 / 1.03 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003432/1.059, allocations: 59.5 kB / 1.03 GB, free: 9.512 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * 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.0004133/1.06, allocations: 176.7 kB / 1.03 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002146/1.06, allocations: 91.72 kB / 1.031 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.06, allocations: 0 / 1.031 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/1.06, allocations: 48.81 kB / 1.031 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/1.06, allocations: 13.42 kB / 1.031 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/1.061, allocations: 149.9 kB / 1.031 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/1.061, allocations: 0.7004 MB / 1.031 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.807e-05/1.061, allocations: 11.95 kB / 1.031 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/1.061, allocations: 18.98 kB / 1.031 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/1.061, allocations: 0 / 1.031 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of Templates: time 0.004667/1.066, allocations: 2.011 MB / 1.033 GB, free: 6.355 MB / 0.6511 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