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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 197.4 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.554/1.554, allocations: 251.7 MB / 0.5089 GB, free: 3.227 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 64.47 kB / 0.6217 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4948, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002633/0.4975, allocations: 1.697 MB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.4988, allocations: 0.8302 MB / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.4988, allocations: 4 kB / 0.7265 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.078e-05/0.4989, allocations: 7.922 kB / 0.7265 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.943e-05/0.499, allocations: 19.8 kB / 0.7265 GB, free: 10.52 MB / 0.545 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 NFTyping.typeClassSections: time 0.0005392/0.4995, allocations: 133.8 kB / 0.7266 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.4997, allocations: 155.5 kB / 0.7268 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.4998, allocations: 25.11 kB / 0.7268 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.64e-05/0.4999, allocations: 63.83 kB / 0.7268 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.5, allocations: 79.72 kB / 0.7269 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.5, allocations: 12 kB / 0.7269 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.5002, allocations: 103.8 kB / 0.727 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.5002, allocations: 35.88 kB / 0.7271 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.5003, allocations: 63.72 kB / 0.7271 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.5006, allocations: 209.4 kB / 0.7273 GB, free: 9.656 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5006, allocations: 0 / 0.7273 GB, free: 9.656 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5006, allocations: 0 / 0.7273 GB, free: 9.656 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.5006, allocations: 0 / 0.7273 GB, free: 9.656 MB / 0.545 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.0007968/0.5014, allocations: 0.5368 MB / 0.7279 GB, free: 9.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.5014, allocations: 15.95 kB / 0.7279 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.5015, allocations: 16.84 kB / 0.7279 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.5016, allocations: 184.1 kB / 0.7281 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.5017, allocations: 4.375 kB / 0.7281 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.5017, allocations: 8.375 kB / 0.7281 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.5021, allocations: 145.8 kB / 0.7282 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.5021, allocations: 0 / 0.7282 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.5021, allocations: 0 / 0.7282 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.5021, allocations: 7.938 kB / 0.7282 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.5025, allocations: 103.9 kB / 0.7283 GB, free: 8.527 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.5032, allocations: 388.5 kB / 0.7287 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.5036, allocations: 98.5 kB / 0.7288 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.5039, allocations: 84.78 kB / 0.7289 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.5039, allocations: 4 kB / 0.7289 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.5043, allocations: 147.2 kB / 0.729 GB, free: 7.746 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.5043, allocations: 0 / 0.729 GB, free: 7.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.001029/0.5054, allocations: 309.3 kB / 0.7293 GB, free: 7.438 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.5054, allocations: 51.41 kB / 0.7294 GB, free: 7.375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5055, allocations: 144.5 kB / 0.7295 GB, free: 7.227 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.5056, allocations: 29.81 kB / 0.7295 GB, free: 7.191 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.5056, allocations: 116.1 kB / 0.7296 GB, free: 7.074 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.5057, allocations: 19.86 kB / 0.7296 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.5057, allocations: 37.7 kB / 0.7297 GB, free: 7.012 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5059, allocations: 322.8 kB / 0.73 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.506, allocations: 39.97 kB / 0.73 GB, free: 6.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.5061, allocations: 77.12 kB / 0.7301 GB, free: 6.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.5064, allocations: 125 kB / 0.7302 GB, free: 6.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5064, allocations: 0 / 0.7302 GB, free: 6.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003215/0.5067, allocations: 161.4 kB / 0.7304 GB, free: 6.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.5067, allocations: 4 kB / 0.7304 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5067, allocations: 4 kB / 0.7304 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.5068, allocations: 0 / 0.7304 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.5069, allocations: 23.97 kB / 0.7304 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.5069, allocations: 0 / 0.7304 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.507, allocations: 20.05 kB / 0.7304 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.507, allocations: 8 kB / 0.7304 GB, free: 6.191 MB / 0.545 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.24e-05/0.5071, allocations: 126.1 kB / 0.7306 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.5072, allocations: 15.89 kB / 0.7306 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.5072, allocations: 16.7 kB / 0.7306 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5072, allocations: 0 / 0.7306 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5072, allocations: 3.938 kB / 0.7306 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5072, allocations: 0 / 0.7306 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/0.5081, allocations: 0.5217 MB / 0.7311 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5082, allocations: 0 / 0.7311 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.5082, allocations: 15.98 kB / 0.7311 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5082, allocations: 4 kB / 0.7311 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.5083, allocations: 0 / 0.7311 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5083, allocations: 3.938 kB / 0.7311 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.5083, allocations: 0 / 0.7311 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.509, allocations: 335.1 kB / 0.7314 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.509, allocations: 81.02 kB / 0.7315 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.5091, allocations: 7.984 kB / 0.7315 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.5093, allocations: 31.91 kB / 0.7316 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.5093, allocations: 7.938 kB / 0.7316 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.5094, allocations: 7.984 kB / 0.7316 GB, free: 4.922 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.957e-05/0.5094, allocations: 108.7 kB / 0.7317 GB, free: 4.816 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5094, allocations: 3.938 kB / 0.7317 GB, free: 4.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003052/0.5098, allocations: 47.94 kB / 0.7317 GB, free: 4.766 MB / 0.545 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,win.occ,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003101/0.5101, allocations: 168 kB / 0.7319 GB, free: 4.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000468/0.5106, allocations: 151.8 kB / 0.732 GB, free: 4.461 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5106, allocations: 4.25 kB / 0.732 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.5109, allocations: 87.92 kB / 0.7321 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.5111, allocations: 8 kB / 0.7321 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.5118, allocations: 284.2 kB / 0.7324 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.512, allocations: 0.7057 MB / 0.7331 GB, free: 3.328 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.652e-05/0.5121, allocations: 12.16 kB / 0.7331 GB, free: 3.316 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.5121, allocations: 15.44 kB / 0.7331 GB, free: 3.305 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5121, allocations: 0 / 0.7331 GB, free: 3.305 MB / 0.545 GB Notification: Performance of Templates: time 0.004096/0.5163, allocations: 1.926 MB / 0.735 GB, free: 1.418 MB / 0.545 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 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)