Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.358/2.358, allocations: 393.5 MB / 408.4 MB, free: 11.1 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 183.9 kB / 0.4902 GB, free: 2.301 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 96.27 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 11.09 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1946/0.4781, allocations: 152.5 MB / 1.378 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004178/0.4786, allocations: 87.88 kB / 1.378 GB, free: 1.016 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.01308/0.4917, allocations: 3.875 MB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4917, allocations: 0 / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.4917, allocations: 4 kB / 1.382 GB, free: 13.12 MB / 0.8855 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.0007742/0.4925, allocations: 0.5379 MB / 1.383 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4926, allocations: 12.56 kB / 1.383 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.4926, allocations: 19.75 kB / 1.383 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.4928, allocations: 179 kB / 1.383 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.4928, allocations: 3.938 kB / 1.383 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.4929, allocations: 12 kB / 1.383 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.4933, allocations: 149.5 kB / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4933, allocations: 7.984 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.4934, allocations: 4 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.4934, allocations: 0 / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.4938, allocations: 131.8 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.4948, allocations: 408.6 kB / 1.383 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.4952, allocations: 114.5 kB / 1.384 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.4952, allocations: 4 kB / 1.384 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004128/0.4956, allocations: 159.2 kB / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.4956, allocations: 4 kB / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.001117/0.4968, allocations: 353.3 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.4968, allocations: 51.41 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.4969, allocations: 140.7 kB / 1.384 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.497, allocations: 30.08 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.497, allocations: 104.4 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.4971, allocations: 23.7 kB / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.4971, allocations: 4 kB / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4972, allocations: 326.8 kB / 1.385 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.4974, allocations: 44.08 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.4975, allocations: 89.06 kB / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.4977, allocations: 59.91 kB / 1.385 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4977, allocations: 0 / 1.385 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003674/0.4981, allocations: 169.4 kB / 1.385 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4981, allocations: 6.188 kB / 1.385 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4981, allocations: 4 kB / 1.385 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4981, allocations: 3.953 kB / 1.385 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.4983, allocations: 23.97 kB / 1.385 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4983, allocations: 7.938 kB / 1.385 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.4985, allocations: 27.92 kB / 1.385 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.4985, allocations: 8 kB / 1.385 GB, free: 9.695 MB / 0.8855 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.0001014/0.4986, allocations: 113.8 kB / 1.385 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.4986, allocations: 7.906 kB / 1.385 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.4987, allocations: 20.7 kB / 1.385 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4987, allocations: 3.953 kB / 1.385 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4987, allocations: 4 kB / 1.385 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4987, allocations: 4 kB / 1.385 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.4997, allocations: 0.5375 MB / 1.386 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4997, allocations: 4 kB / 1.386 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.155e-05/0.4998, allocations: 19.97 kB / 1.386 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.4998, allocations: 7.891 kB / 1.386 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.4999, allocations: 8 kB / 1.386 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4999, allocations: 0 / 1.386 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4999, allocations: 0 / 1.386 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007663/0.5006, allocations: 363.1 kB / 1.386 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.5007, allocations: 85.02 kB / 1.386 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.5007, allocations: 12.14 kB / 1.386 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.501, allocations: 32.06 kB / 1.386 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.5011, allocations: 15.91 kB / 1.386 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.5011, allocations: 7.984 kB / 1.386 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.849e-05/0.5012, allocations: 113.1 kB / 1.386 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5012, allocations: 0 / 1.386 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003825/0.5016, allocations: 55.94 kB / 1.386 GB, free: 8.199 MB / 0.8855 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.0004047/0.502, allocations: 176.1 kB / 1.387 GB, free: 8.031 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005569/0.5025, allocations: 167.8 kB / 1.387 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5026, allocations: 0 / 1.387 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.5029, allocations: 104.2 kB / 1.387 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.5031, allocations: 8 kB / 1.387 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006972/0.5038, allocations: 301.2 kB / 1.387 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.5041, allocations: 0.7004 MB / 1.388 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.666e-05/0.5041, allocations: 7.984 kB / 1.388 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.5042, allocations: 19.44 kB / 1.388 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of SimCode: time 5.91e-07/0.5042, allocations: 0 / 1.388 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of Templates: time 0.004863/0.5091, allocations: 1.995 MB / 1.39 GB, free: 4.695 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches