Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01107/0.01107, allocations: 107.1 kB / 15.05 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001173/0.001173, allocations: 185.2 kB / 15.94 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.159/2.159, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.337/2.337, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.0005108, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7697, allocations: 98.72 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2655/1.035, allocations: 126.5 MB / 0.8069 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/1.036, allocations: 87.94 kB / 0.807 GB, free: 15.69 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.02154/1.057, allocations: 2.951 MB / 0.8099 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.936e-06/1.057, allocations: 0 / 0.8099 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.057, allocations: 0 / 0.8099 GB, free: 12.73 MB / 0.6355 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.000994/1.058, allocations: 432.8 kB / 0.8103 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/1.058, allocations: 8.031 kB / 0.8103 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.905e-05/1.058, allocations: 30.56 kB / 0.8104 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/1.059, allocations: 15.86 kB / 0.8104 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/1.059, allocations: 174.9 kB / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/1.059, allocations: 8 kB / 0.8106 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/1.059, allocations: 4 kB / 0.8106 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/1.059, allocations: 65.66 kB / 0.8106 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.059, allocations: 4 kB / 0.8106 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/1.059, allocations: 0 / 0.8106 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/1.059, allocations: 0 / 0.8106 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000334/1.06, allocations: 47.97 kB / 0.8107 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/1.061, allocations: 312.8 kB / 0.811 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/1.061, allocations: 54.5 kB / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/1.061, allocations: 4.062 kB / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/1.062, allocations: 79.5 kB / 0.8111 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.717e-06/1.062, allocations: 0 / 0.8111 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0008935/1.063, allocations: 157.4 kB / 0.8112 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/1.063, allocations: 55.34 kB / 0.8113 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/1.063, allocations: 113 kB / 0.8114 GB, free: 11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/1.063, allocations: 29.7 kB / 0.8114 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/1.063, allocations: 88.27 kB / 0.8115 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/1.063, allocations: 23.78 kB / 0.8115 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/1.063, allocations: 0 / 0.8115 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.063, allocations: 318.8 kB / 0.8118 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/1.064, allocations: 31.97 kB / 0.8119 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/1.064, allocations: 50.56 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/1.064, allocations: 31.98 kB / 0.812 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/1.064, allocations: 0 / 0.812 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006282/1.065, allocations: 121.8 kB / 0.8121 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/1.065, allocations: 4 kB / 0.8121 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/1.065, allocations: 8.062 kB / 0.8121 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.065, allocations: 0 / 0.8121 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/1.065, allocations: 15.92 kB / 0.8121 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/1.065, allocations: 11.94 kB / 0.8121 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/1.065, allocations: 4 kB / 0.8121 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/1.065, allocations: 8 kB / 0.8121 GB, free: 10.23 MB / 0.6355 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 0.0001878/1.066, allocations: 125.8 kB / 0.8122 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/1.066, allocations: 7.906 kB / 0.8123 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/1.066, allocations: 8.375 kB / 0.8123 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.066, allocations: 0 / 0.8123 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.066, allocations: 0 / 0.8123 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/1.066, allocations: 7.953 kB / 0.8123 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009828/1.067, allocations: 386.4 kB / 0.8126 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.067, allocations: 0 / 0.8126 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.761e-05/1.067, allocations: 11.92 kB / 0.8126 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/1.067, allocations: 0 / 0.8126 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/1.067, allocations: 4 kB / 0.8127 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/1.067, allocations: 3.953 kB / 0.8127 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.067, allocations: 0 / 0.8127 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006376/1.068, allocations: 215.5 kB / 0.8129 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/1.068, allocations: 85 kB / 0.8129 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/1.068, allocations: 0 / 0.8129 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/1.068, allocations: 8 kB / 0.8129 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/1.068, allocations: 15.94 kB / 0.813 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/1.068, allocations: 8 kB / 0.813 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000102/1.068, allocations: 95.86 kB / 0.8131 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.11e-07/1.068, allocations: 0 / 0.8131 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007633/1.069, allocations: 55.86 kB / 0.8131 GB, free: 9.102 MB / 0.6355 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.001548/1.071, allocations: 0.8139 MB / 0.8139 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005382/1.071, allocations: 76.25 kB / 0.814 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.071, allocations: 0 / 0.814 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/1.071, allocations: 40.08 kB / 0.814 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/1.072, allocations: 11.94 kB / 0.814 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/1.073, allocations: 0.7423 MB / 0.8148 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/1.074, allocations: 0.6965 MB / 0.8154 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.394e-05/1.074, allocations: 8.172 kB / 0.8154 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.246e-05/1.074, allocations: 23.42 kB / 0.8155 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of SimCode: time 1.342e-06/1.074, allocations: 0 / 0.8155 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08739/1.161, allocations: 2.488 MB / 0.8179 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003712/1.162, allocations: 247.2 kB / 0.8181 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.762/3.924, allocations: 4 kB / 0.8181 GB, free: 3.945 MB / 0.6355 GB