Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.958/4.958, allocations: 0.5623 GB / 0.5775 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002552/0.002552, allocations: 357 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.298/4.298, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001784/0.001784, allocations: 188 kB / 1.226 GB, free: 35.9 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004806, allocations: 13.16 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2068, allocations: 115.2 MB / 1.461 GB, free: 6.543 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9268/1.134, allocations: 140.3 MB / 1.598 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.134, allocations: 87.17 kB / 1.598 GB, free: 1.328 MB / 0.6667 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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.01959/1.154, allocations: 3.824 MB / 1.602 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.503e-06/1.154, allocations: 0 / 1.602 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.065e-05/1.154, allocations: 4 kB / 1.602 GB, free: 14.03 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.0009757/1.155, allocations: 0.5397 MB / 1.603 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/1.155, allocations: 12.03 kB / 1.603 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.182e-05/1.155, allocations: 23.7 kB / 1.603 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/1.155, allocations: 178.9 kB / 1.603 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/1.155, allocations: 3.938 kB / 1.603 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/1.155, allocations: 11.98 kB / 1.603 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007693/1.156, allocations: 152.4 kB / 1.603 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.156, allocations: 0 / 1.603 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/1.156, allocations: 4 kB / 1.603 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.156, allocations: 0 / 1.603 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007671/1.157, allocations: 124.9 kB / 1.603 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/1.158, allocations: 418.4 kB / 1.604 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/1.159, allocations: 115.1 kB / 1.604 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/1.16, allocations: 99.09 kB / 1.604 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/1.16, allocations: 4 kB / 1.604 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007193/1.16, allocations: 161.9 kB / 1.604 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.855e-06/1.16, allocations: 0 / 1.604 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.002052/1.162, allocations: 356.8 kB / 1.604 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/1.163, allocations: 55.34 kB / 1.604 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/1.163, allocations: 151.9 kB / 1.604 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.285e-05/1.163, allocations: 32.89 kB / 1.605 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/1.163, allocations: 97.81 kB / 1.605 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/1.163, allocations: 27.28 kB / 1.605 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/1.163, allocations: 3.5 kB / 1.605 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.163, allocations: 318 kB / 1.605 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/1.163, allocations: 52.28 kB / 1.605 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/1.164, allocations: 81.25 kB / 1.605 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/1.164, allocations: 60.28 kB / 1.605 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.164, allocations: 0 / 1.605 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006683/1.165, allocations: 171.5 kB / 1.605 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.165, allocations: 4.375 kB / 1.605 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.165, allocations: 7.984 kB / 1.605 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.165, allocations: 3.953 kB / 1.605 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/1.165, allocations: 24.11 kB / 1.605 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/1.165, allocations: 7.938 kB / 1.605 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/1.165, allocations: 22.58 kB / 1.605 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/1.165, allocations: 11.44 kB / 1.605 GB, free: 10.79 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.000166/1.165, allocations: 120.4 kB / 1.605 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/1.166, allocations: 7.906 kB / 1.605 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/1.166, allocations: 19.45 kB / 1.606 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.166, allocations: 3.953 kB / 1.606 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.166, allocations: 0 / 1.606 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.166, allocations: 4 kB / 1.606 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/1.167, allocations: 0.544 MB / 1.606 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.167, allocations: 0 / 1.606 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/1.168, allocations: 15.98 kB / 1.606 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/1.168, allocations: 3.953 kB / 1.606 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/1.168, allocations: 8.031 kB / 1.606 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/1.168, allocations: 3.984 kB / 1.606 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.168, allocations: 0 / 1.606 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/1.169, allocations: 363.4 kB / 1.606 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/1.169, allocations: 85.02 kB / 1.607 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/1.169, allocations: 11.94 kB / 1.607 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/1.17, allocations: 27.97 kB / 1.607 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/1.17, allocations: 15.36 kB / 1.607 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/1.17, allocations: 4 kB / 1.607 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001127/1.17, allocations: 112.2 kB / 1.607 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/1.17, allocations: 0 / 1.607 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004816/1.17, allocations: 51.06 kB / 1.607 GB, free: 9.438 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.0005121/1.171, allocations: 188 kB / 1.607 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009531/1.172, allocations: 159.6 kB / 1.607 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.172, allocations: 8.25 kB / 1.607 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006199/1.173, allocations: 100.4 kB / 1.607 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/1.173, allocations: 15.05 kB / 1.607 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/1.174, allocations: 295.6 kB / 1.607 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/1.174, allocations: 0.7081 MB / 1.608 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00012/1.175, allocations: 8 kB / 1.608 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/1.175, allocations: 19.36 kB / 1.608 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of SimCode: time 1.322e-06/1.175, allocations: 0 / 1.608 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of Templates: time 0.007319/1.182, allocations: 1.991 MB / 1.61 GB, free: 6.012 MB / 0.6823 GB