Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 103 kB / 16.27 MB, free: 6.418 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.001714/0.001714, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.423/1.423, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.3 MB / 0.5495 GB, free: 17.49 MB / 462.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.00145/0.001451, allocations: 76.2 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2241, allocations: 114.6 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003144/0.2272, allocations: 1.472 MB / 0.7855 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2288, allocations: 0.7799 MB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.2289, allocations: 0 / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.2289, allocations: 3.938 kB / 0.7862 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.229, allocations: 11.88 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.0006312/0.2297, allocations: 119.6 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.2298, allocations: 79.77 kB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2299, allocations: 11.98 kB / 0.7864 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.23, allocations: 35.86 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.2301, allocations: 39.89 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.2301, allocations: 7.938 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.2303, allocations: 103.8 kB / 0.7866 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.948e-05/0.2304, allocations: 15.98 kB / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.2304, allocations: 31.86 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.2308, allocations: 139.9 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2308, allocations: 0 / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2308, allocations: 4 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.2308, allocations: 0 / 0.7868 GB, free: 1.016 MB / 0.6544 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.000741/0.2315, allocations: 412.9 kB / 0.7872 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2316, allocations: 12.03 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.2316, allocations: 4.844 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.2318, allocations: 184.1 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.2318, allocations: 8.375 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.2318, allocations: 4.375 kB / 0.7874 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.232, allocations: 77.91 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.2321, allocations: 0 / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2321, allocations: 4 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2321, allocations: 0 / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.2322, allocations: 35.97 kB / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3483/0.5805, allocations: 306.5 kB / 0.7878 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.5807, allocations: 54.72 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.5808, allocations: 30.83 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.5808, allocations: 3.844 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.5811, allocations: 85.66 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.5811, allocations: 0 / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003754/0.5815, allocations: 131.6 kB / 0.7881 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.5815, allocations: 58.11 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.5816, allocations: 122.1 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.5816, allocations: 33.25 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.5816, allocations: 89.83 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.5817, allocations: 15.25 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.5817, allocations: 28.53 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.5818, allocations: 322.7 kB / 0.7887 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.5818, allocations: 27.38 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-05/0.5819, allocations: 54.12 kB / 0.7888 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.5821, allocations: 72.34 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5821, allocations: 0 / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002066/0.5823, allocations: 120.5 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5823, allocations: 5.344 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5823, allocations: 2.281 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5824, allocations: 3.422 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.5825, allocations: 9.812 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5825, allocations: 5.906 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.5826, allocations: 9.859 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.5826, allocations: 5.156 kB / 0.789 GB, free: 47.84 MB / 0.6544 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.5826, allocations: 118.2 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.5827, allocations: 14.45 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.5827, allocations: 11.16 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5827, allocations: 0 / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5827, allocations: 1.719 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5827, allocations: 3.375 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.5831, allocations: 384.2 kB / 0.7895 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.5831, allocations: 1.5 kB / 0.7895 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.5831, allocations: 6.094 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5832, allocations: 0 / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.5832, allocations: 6 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5832, allocations: 0 / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5832, allocations: 0 / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.5834, allocations: 211.9 kB / 0.7898 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.5835, allocations: 83.73 kB / 0.7898 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.5835, allocations: 5.312 kB / 0.7898 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.5836, allocations: 3.219 kB / 0.7898 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.5836, allocations: 11.64 kB / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.5836, allocations: 6.219 kB / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.5837, allocations: 92.34 kB / 0.79 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5837, allocations: 0.5625 kB / 0.79 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000306/0.584, allocations: 41.06 kB / 0.79 GB, free: 47.12 MB / 0.6544 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: 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 (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.0003451/0.5844, allocations: 159.3 kB / 0.7901 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.5846, allocations: 82.48 kB / 0.7902 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5846, allocations: 0 / 0.7902 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.5847, allocations: 35.94 kB / 0.7903 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.585, allocations: 13.53 kB / 0.7903 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.5854, allocations: 210.9 kB / 0.7905 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.5855, allocations: 0.6918 MB / 0.7911 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.5855, allocations: 11.41 kB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.5855, allocations: 4.812 kB / 0.7912 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.003053/0.5886, allocations: 1.617 MB / 0.7927 GB, free: 46.08 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)