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.001592/0.001592, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001861/0.001861, allocations: 190.6 kB / 16.25 MB, free: 6.621 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.462/1.462, allocations: 205.1 MB / 222.1 MB, free: 4.938 MB / 174.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.783/1.783, allocations: 292.2 MB / 0.5485 GB, free: 13.69 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.00142/0.00142, allocations: 74.55 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2693, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003444/0.2728, allocations: 1.542 MB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2742, allocations: 0.7683 MB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.2742, allocations: 0 / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.2743, allocations: 0 / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.911e-05/0.2744, allocations: 19.86 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB [/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.0005482/0.2749, allocations: 107.8 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2751, allocations: 71.78 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2752, allocations: 12 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.649e-05/0.2753, allocations: 39.83 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/0.2753, allocations: 31.91 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.2754, allocations: 12 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.2756, allocations: 95.84 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.2756, allocations: 19.92 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.2757, allocations: 31.84 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.2759, allocations: 139.9 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2759, allocations: 0 / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2759, allocations: 0 / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.2759, allocations: 0 / 0.7857 GB, free: 11.04 MB / 0.6075 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.0006637/0.2766, allocations: 428.9 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2766, allocations: 8.031 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.2767, allocations: 8.844 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2768, allocations: 184.1 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.2769, allocations: 8.359 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.2769, allocations: 8.375 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.2771, allocations: 65.97 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2771, allocations: 0 / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2771, allocations: 0 / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2771, allocations: 4 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.2773, allocations: 39.97 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.2779, allocations: 320.6 kB / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.2781, allocations: 46.56 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.2782, allocations: 36.95 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.2782, allocations: 4 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.2785, allocations: 75.38 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.2785, allocations: 0 / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004515/0.2789, allocations: 133.6 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.279, allocations: 59.41 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.2792, allocations: 121.8 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.2792, allocations: 29.69 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.2793, allocations: 96.2 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.2793, allocations: 15.75 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.2794, allocations: 29.7 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.2796, allocations: 322.8 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.2797, allocations: 23.98 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.977e-05/0.2798, allocations: 46.56 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.2799, allocations: 82.42 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.28, allocations: 0 / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002619/0.2802, allocations: 113.8 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.2803, allocations: 4 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2803, allocations: 4 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.2803, allocations: 0 / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2804, allocations: 15.92 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2804, allocations: 80 / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.2805, allocations: 8 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2805, allocations: 7.984 kB / 0.7879 GB, free: 8.484 MB / 0.6075 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.0001295/0.2807, allocations: 126.5 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.2807, allocations: 7.906 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.2807, allocations: 12.38 kB / 0.788 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2808, allocations: 0 / 0.788 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2808, allocations: 0 / 0.788 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2808, allocations: 3.938 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.2813, allocations: 382.3 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2813, allocations: 4 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.2814, allocations: 15.98 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2814, allocations: 0 / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2814, allocations: 4 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2814, allocations: 0 / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2814, allocations: 3.938 kB / 0.7884 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.2817, allocations: 207.3 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.2818, allocations: 89.02 kB / 0.7887 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2818, allocations: 0 / 0.7887 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.2819, allocations: 8 kB / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.282, allocations: 15.91 kB / 0.7887 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.282, allocations: 0 / 0.7887 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.936e-05/0.2821, allocations: 91.92 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2821, allocations: 0 / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003481/0.2824, allocations: 43.92 kB / 0.7889 GB, free: 7.391 MB / 0.6075 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.0004041/0.2828, allocations: 164.5 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.2831, allocations: 75.83 kB / 0.7891 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2831, allocations: 0 / 0.7891 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.762e-05/0.2832, allocations: 35.97 kB / 0.7891 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.2835, allocations: 8.125 kB / 0.7891 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.284, allocations: 204.8 kB / 0.7893 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2843, allocations: 0.6871 MB / 0.79 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.127e-05/0.2843, allocations: 11.98 kB / 0.79 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.2843, allocations: 11.44 kB / 0.79 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2844, allocations: 0 / 0.79 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of Templates: time 0.004138/0.2885, allocations: 1.407 MB / 0.7914 GB, free: 4.758 MB / 0.6075 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)