Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.947/4.947, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 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.002724/0.002723, allocations: 361.7 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.617/4.617, allocations: 410.7 MB / 1.113 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001848/0.001848, allocations: 194.2 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004848, allocations: 12 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7852/0.7858, allocations: 115.2 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.9918, allocations: 139.9 MB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.9921, allocations: 84.89 kB / 1.598 GB, free: 144.3 MB / 0.8542 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.01284/1.005, allocations: 2.996 MB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.994e-06/1.005, allocations: 0 / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.432e-06/1.005, allocations: 0 / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005768/1.006, allocations: 423 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/1.006, allocations: 11.62 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/1.006, allocations: 7.938 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.471e-05/1.006, allocations: 173.5 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/1.006, allocations: 4.688 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/1.006, allocations: 12.8 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/1.006, allocations: 74.7 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.006, allocations: 0 / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/1.006, allocations: 0 / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.006, allocations: 5.312 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/1.006, allocations: 40.62 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/1.007, allocations: 319.1 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/1.007, allocations: 52.88 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/1.007, allocations: 33.53 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/1.008, allocations: 9.594 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/1.008, allocations: 80.03 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/1.008, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005609/1.008, allocations: 147.5 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/1.008, allocations: 63.97 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/1.008, allocations: 124.2 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/1.009, allocations: 25.7 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/1.009, allocations: 93.31 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/1.009, allocations: 15.81 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-06/1.009, allocations: 0 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.861e-05/1.009, allocations: 325.3 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/1.009, allocations: 27.98 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/1.009, allocations: 54.02 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/1.009, allocations: 33.05 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.009, allocations: 0 / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003528/1.01, allocations: 119.5 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.01, allocations: 8.969 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.01, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.01, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/1.01, allocations: 21.14 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.01, allocations: 3.953 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/1.01, allocations: 9.094 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/1.01, allocations: 8 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.205e-05/1.01, allocations: 121.2 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/1.01, allocations: 4 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/1.01, allocations: 8.375 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/1.01, allocations: 5.25 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.01, allocations: 1.266 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.01, allocations: 3.953 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/1.011, allocations: 384.6 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.011, allocations: 1.312 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/1.011, allocations: 7.984 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/1.011, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/1.011, allocations: 4.781 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.011, allocations: 3.953 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.011, allocations: 3.125 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/1.011, allocations: 215.9 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/1.011, allocations: 88.95 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/1.011, allocations: 4.562 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/1.011, allocations: 4.562 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/1.012, allocations: 12.62 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.012, allocations: 4 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.124e-05/1.012, allocations: 95.89 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.252e-06/1.012, allocations: 1.469 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000423/1.012, allocations: 51.92 kB / 1.604 GB, free: 137.7 MB / 0.8542 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0004107/1.012, allocations: 167.4 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003632/1.013, allocations: 78.59 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.013, allocations: 0 / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/1.013, allocations: 40.5 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/1.013, allocations: 5.438 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/1.014, allocations: 217.8 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/1.014, allocations: 0.6926 MB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.481e-05/1.014, allocations: 5.516 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/1.014, allocations: 11.44 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.162e-06/1.014, allocations: 0.5 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.00543/1.02, allocations: 1.526 MB / 1.607 GB, free: 135.1 MB / 0.8542 GB