Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.636/4.636, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002667/0.002667, allocations: 360 kB / 0.6446 GB, free: 21.45 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.557/4.557, allocations: 410.7 MB / 1.113 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00196/0.00196, allocations: 185.5 kB / 1.226 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005006, allocations: 10.41 kB / 1.349 GB, free: 321.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2089, allocations: 115.2 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.4108, allocations: 139.9 MB / 1.598 GB, free: 80.72 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.4112, allocations: 83.95 kB / 1.598 GB, free: 80.64 MB / 0.8073 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.01277/0.424, allocations: 2.992 MB / 1.601 GB, free: 77.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.703e-06/0.424, allocations: 0 / 1.601 GB, free: 77.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.424, allocations: 0 / 1.601 GB, free: 77.66 MB / 0.8073 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.0005774/0.4246, allocations: 426 kB / 1.601 GB, free: 77.19 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4247, allocations: 10.12 kB / 1.601 GB, free: 77.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.4247, allocations: 7.906 kB / 1.601 GB, free: 77.17 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.492e-05/0.4248, allocations: 171 kB / 1.601 GB, free: 76.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.4249, allocations: 11.92 kB / 1.601 GB, free: 76.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.4249, allocations: 9.312 kB / 1.601 GB, free: 76.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.4251, allocations: 70.17 kB / 1.602 GB, free: 76.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4252, allocations: 0 / 1.602 GB, free: 76.87 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.4252, allocations: 3.375 kB / 1.602 GB, free: 76.87 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4252, allocations: 4 kB / 1.602 GB, free: 76.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.4254, allocations: 47.91 kB / 1.602 GB, free: 76.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.4262, allocations: 315.9 kB / 1.602 GB, free: 76.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.4264, allocations: 46.56 kB / 1.602 GB, free: 76.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.4265, allocations: 34.09 kB / 1.602 GB, free: 76.38 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.4266, allocations: 1.469 kB / 1.602 GB, free: 76.38 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.4268, allocations: 85.81 kB / 1.602 GB, free: 76.28 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.4268, allocations: 4 kB / 1.602 GB, free: 76.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0005507/0.4274, allocations: 142.5 kB / 1.602 GB, free: 76.13 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.4274, allocations: 68.28 kB / 1.602 GB, free: 76.05 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.4275, allocations: 121.6 kB / 1.602 GB, free: 75.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4275, allocations: 30.64 kB / 1.602 GB, free: 75.89 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.4276, allocations: 92.31 kB / 1.603 GB, free: 75.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.4276, allocations: 13.16 kB / 1.603 GB, free: 75.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.4277, allocations: 4 kB / 1.603 GB, free: 75.78 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.4277, allocations: 318.8 kB / 1.603 GB, free: 75.46 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.4279, allocations: 33.36 kB / 1.603 GB, free: 75.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.428, allocations: 52.66 kB / 1.603 GB, free: 75.37 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.4282, allocations: 32.48 kB / 1.603 GB, free: 75.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4282, allocations: 1.125 kB / 1.603 GB, free: 75.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003501/0.4285, allocations: 123.2 kB / 1.603 GB, free: 75.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4286, allocations: 4 kB / 1.603 GB, free: 75.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4286, allocations: 4 kB / 1.603 GB, free: 75.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4286, allocations: 0.5938 kB / 1.603 GB, free: 75.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.4288, allocations: 13.27 kB / 1.603 GB, free: 75.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.4288, allocations: 8.344 kB / 1.603 GB, free: 75.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.4289, allocations: 12.81 kB / 1.603 GB, free: 75.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.4289, allocations: 4 kB / 1.603 GB, free: 75.17 MB / 0.8073 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 8.951e-05/0.429, allocations: 122.7 kB / 1.603 GB, free: 75.04 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.4291, allocations: 8.906 kB / 1.603 GB, free: 75.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.4291, allocations: 8.375 kB / 1.603 GB, free: 75.03 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.4291, allocations: 4.766 kB / 1.603 GB, free: 75.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4291, allocations: 0 / 1.603 GB, free: 75.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.4292, allocations: 8.766 kB / 1.603 GB, free: 75.02 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.4297, allocations: 384.5 kB / 1.604 GB, free: 74.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4297, allocations: 0 / 1.604 GB, free: 74.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.4298, allocations: 8.578 kB / 1.604 GB, free: 74.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4298, allocations: 4.438 kB / 1.604 GB, free: 74.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.4299, allocations: 8 kB / 1.604 GB, free: 74.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4299, allocations: 4.703 kB / 1.604 GB, free: 74.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4299, allocations: 0 / 1.604 GB, free: 74.56 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.4303, allocations: 214 kB / 1.604 GB, free: 74.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.4303, allocations: 77.64 kB / 1.604 GB, free: 74.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.4304, allocations: 0 / 1.604 GB, free: 74.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.4305, allocations: 9.375 kB / 1.604 GB, free: 74.24 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.4306, allocations: 11.94 kB / 1.604 GB, free: 74.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.4306, allocations: 4.844 kB / 1.604 GB, free: 74.22 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.4306, allocations: 95.2 kB / 1.604 GB, free: 74.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4307, allocations: 4.438 kB / 1.604 GB, free: 74.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000413/0.4311, allocations: 48.73 kB / 1.604 GB, free: 74.08 MB / 0.8073 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.0004194/0.4315, allocations: 179.7 kB / 1.604 GB, free: 73.92 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.4319, allocations: 73.5 kB / 1.604 GB, free: 73.85 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4319, allocations: 0.6562 kB / 1.604 GB, free: 73.85 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.4321, allocations: 40.66 kB / 1.604 GB, free: 73.81 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.4324, allocations: 4.625 kB / 1.604 GB, free: 73.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.4329, allocations: 213.4 kB / 1.605 GB, free: 73.57 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.433, allocations: 0.6979 MB / 1.605 GB, free: 72.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.726e-05/0.4331, allocations: 8.734 kB / 1.605 GB, free: 72.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.4332, allocations: 11.94 kB / 1.605 GB, free: 72.82 MB / 0.8073 GB Notification: Performance of SimCode: time 8.21e-07/0.4332, allocations: 0.5312 kB / 1.605 GB, free: 72.82 MB / 0.8073 GB Notification: Performance of Templates: time 0.005403/0.4386, allocations: 1.525 MB / 1.607 GB, free: 71.41 MB / 0.8073 GB