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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001289/0.001288, allocations: 194 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.1 MB / 0.6354 GB, free: 9.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001266/0.001267, allocations: 102.7 kB / 0.748 GB, free: 61.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.29, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003215/0.2933, allocations: 1.541 MB / 0.9837 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2948, allocations: 0.7761 MB / 0.9845 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.2949, allocations: 0 / 0.9845 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/0.2949, allocations: 3.938 kB / 0.9845 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.198e-05/0.295, allocations: 3.938 kB / 0.9845 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.2956, allocations: 103.8 kB / 0.9846 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2957, allocations: 79.77 kB / 0.9847 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.2958, allocations: 4 kB / 0.9847 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.296, allocations: 39.84 kB / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.296, allocations: 39.83 kB / 0.9847 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.2961, allocations: 4 kB / 0.9847 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.2963, allocations: 83.91 kB / 0.9848 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.2963, allocations: 15.97 kB / 0.9848 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.2964, allocations: 35.8 kB / 0.9849 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.2967, allocations: 143.8 kB / 0.985 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2967, allocations: 0 / 0.985 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2967, allocations: 0 / 0.985 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2967, allocations: 0 / 0.985 GB, free: 7.504 MB / 0.7136 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.000666/0.2974, allocations: 409 kB / 0.9854 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.2974, allocations: 12.02 kB / 0.9854 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.2975, allocations: 8.844 kB / 0.9854 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.2976, allocations: 172.2 kB / 0.9856 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.2977, allocations: 12.38 kB / 0.9856 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.2977, allocations: 4.375 kB / 0.9856 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.2979, allocations: 69.95 kB / 0.9857 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.2979, allocations: 4 kB / 0.9857 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2979, allocations: 4 kB / 0.9857 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2979, allocations: 3.938 kB / 0.9857 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.2981, allocations: 35.97 kB / 0.9857 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006018/0.2987, allocations: 320.7 kB / 0.986 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.2988, allocations: 50.56 kB / 0.9861 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.2989, allocations: 32.97 kB / 0.9861 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.2989, allocations: 0 / 0.9861 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.2992, allocations: 79.31 kB / 0.9862 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2992, allocations: 0 / 0.9862 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003959/0.2996, allocations: 145.5 kB / 0.9863 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.2996, allocations: 55.41 kB / 0.9864 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2997, allocations: 121.8 kB / 0.9865 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.2998, allocations: 33.7 kB / 0.9865 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.2998, allocations: 88.14 kB / 0.9866 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.2999, allocations: 23.73 kB / 0.9866 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.2999, allocations: 25.66 kB / 0.9866 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3001, allocations: 326.8 kB / 0.987 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.3001, allocations: 23.98 kB / 0.987 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.361e-05/0.3002, allocations: 50.98 kB / 0.987 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3004, allocations: 74.84 kB / 0.9871 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3004, allocations: 4 kB / 0.9871 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002399/0.3007, allocations: 109.5 kB / 0.9872 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3007, allocations: 11.94 kB / 0.9872 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3007, allocations: 0 / 0.9872 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3007, allocations: 8.047 kB / 0.9872 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.3008, allocations: 8 kB / 0.9872 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3008, allocations: 4 kB / 0.9872 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.3009, allocations: 7.984 kB / 0.9872 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.3009, allocations: 4 kB / 0.9873 GB, free: 4.961 MB / 0.7136 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 0.0001057/0.301, allocations: 117.8 kB / 0.9874 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.3011, allocations: 11.91 kB / 0.9874 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.3011, allocations: 8.375 kB / 0.9874 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3011, allocations: 3.984 kB / 0.9874 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3011, allocations: 3.938 kB / 0.9874 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3011, allocations: 0 / 0.9874 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.3016, allocations: 382.4 kB / 0.9878 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3016, allocations: 0 / 0.9878 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.3017, allocations: 4 kB / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3017, allocations: 3.938 kB / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3017, allocations: 0 / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3017, allocations: 4 kB / 0.9878 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.3017, allocations: 11.91 kB / 0.9878 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/0.3023, allocations: 0.7941 MB / 0.9886 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.3024, allocations: 81.05 kB / 0.9886 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3024, allocations: 0 / 0.9886 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.3025, allocations: 15.98 kB / 0.9886 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.3026, allocations: 4 kB / 0.9887 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3026, allocations: 7.984 kB / 0.9887 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.391e-05/0.3027, allocations: 99.42 kB / 0.9888 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3027, allocations: 0 / 0.9888 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003919/0.3031, allocations: 39.91 kB / 0.9888 GB, free: 3.238 MB / 0.7136 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.0003918/0.3035, allocations: 159.6 kB / 0.9889 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.3037, allocations: 68.12 kB / 0.989 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3037, allocations: 0 / 0.989 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.642e-05/0.3038, allocations: 32.14 kB / 0.989 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.3041, allocations: 11.94 kB / 0.9891 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.3047, allocations: 333.8 kB / 0.9894 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.305, allocations: 0.6887 MB / 0.99 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.668e-05/0.3051, allocations: 8 kB / 0.99 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.3051, allocations: 7.438 kB / 0.9901 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.3051, allocations: 0 / 0.9901 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of Templates: time 0.003984/0.3091, allocations: 1.408 MB / 0.9914 GB, free: 488 kB / 0.7136 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)