Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.826/1.826, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001326/0.001326, allocations: 193.1 kB / 376.9 MB, free: 1.805 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.794/1.794, allocations: 205.1 MB / 0.6354 GB, free: 9.781 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.001107/0.001107, allocations: 91.45 kB / 0.7479 GB, free: 60.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 55.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2887, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.00322/0.2919, allocations: 1.538 MB / 0.9837 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2934, allocations: 0.7761 MB / 0.9845 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.2935, allocations: 0 / 0.9845 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.2935, allocations: 0 / 0.9845 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.2936, allocations: 11.86 kB / 0.9845 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.2943, allocations: 107.8 kB / 0.9846 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.2944, allocations: 75.77 kB / 0.9847 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2945, allocations: 8 kB / 0.9847 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.2946, allocations: 31.91 kB / 0.9847 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.2947, allocations: 43.77 kB / 0.9847 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.2948, allocations: 4 kB / 0.9847 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.295, allocations: 83.91 kB / 0.9848 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.2951, allocations: 15.98 kB / 0.9848 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.2951, allocations: 35.78 kB / 0.9849 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.2954, allocations: 139.9 kB / 0.985 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2955, allocations: 3.938 kB / 0.985 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2955, allocations: 0 / 0.985 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2955, allocations: 0 / 0.985 GB, free: 7.492 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.0008018/0.2963, allocations: 409 kB / 0.9854 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.2963, allocations: 8.031 kB / 0.9854 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.2964, allocations: 12.83 kB / 0.9854 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.2966, allocations: 180.2 kB / 0.9856 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.2967, allocations: 4.375 kB / 0.9856 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.2967, allocations: 8.375 kB / 0.9856 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.297, allocations: 69.97 kB / 0.9857 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.297, allocations: 4 kB / 0.9857 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.297, allocations: 0 / 0.9857 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.297, allocations: 0 / 0.9857 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.2972, allocations: 43.89 kB / 0.9857 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.2979, allocations: 320.7 kB / 0.986 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.298, allocations: 50.55 kB / 0.9861 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.811e-05/0.2981, allocations: 32.97 kB / 0.9861 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.2982, allocations: 0 / 0.9861 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002794/0.2985, allocations: 79.31 kB / 0.9862 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.684e-06/0.2985, allocations: 0 / 0.9862 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004299/0.2989, allocations: 137.5 kB / 0.9863 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.299, allocations: 55.41 kB / 0.9864 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.2991, allocations: 125.7 kB / 0.9865 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.2991, allocations: 37.7 kB / 0.9865 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.2992, allocations: 88.2 kB / 0.9866 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.2992, allocations: 23.73 kB / 0.9866 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.2993, allocations: 29.66 kB / 0.9866 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2994, allocations: 322.8 kB / 0.987 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.2995, allocations: 23.98 kB / 0.987 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.732e-05/0.2996, allocations: 54.48 kB / 0.987 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.2998, allocations: 66.56 kB / 0.9871 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2998, allocations: 4 kB / 0.9871 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002429/0.3, allocations: 109.5 kB / 0.9872 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3001, allocations: 8 kB / 0.9872 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3001, allocations: 4.062 kB / 0.9872 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3001, allocations: 0 / 0.9872 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.3002, allocations: 15.92 kB / 0.9872 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3002, allocations: 4 kB / 0.9872 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.549e-05/0.3003, allocations: 7.984 kB / 0.9872 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.3003, allocations: 8 kB / 0.9872 GB, free: 4.945 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.0001478/0.3005, allocations: 121.8 kB / 0.9874 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.3005, allocations: 7.906 kB / 0.9874 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.3005, allocations: 8.375 kB / 0.9874 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.3005, allocations: 0 / 0.9874 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3005, allocations: 3.984 kB / 0.9874 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3005, allocations: 0 / 0.9874 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.301, allocations: 390.3 kB / 0.9878 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.301, allocations: 0 / 0.9878 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.3011, allocations: 7.938 kB / 0.9878 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3011, allocations: 0 / 0.9878 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3011, allocations: 4 kB / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3011, allocations: 0 / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3011, allocations: 7.922 kB / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007168/0.3018, allocations: 0.7946 MB / 0.9886 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.3019, allocations: 81.05 kB / 0.9886 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3019, allocations: 12 kB / 0.9886 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.302, allocations: 7.984 kB / 0.9886 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.3021, allocations: 7.938 kB / 0.9887 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3021, allocations: 3.984 kB / 0.9887 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.988e-05/0.3022, allocations: 95.27 kB / 0.9887 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3022, allocations: 0 / 0.9887 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004143/0.3026, allocations: 39.91 kB / 0.9888 GB, free: 3.223 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.0003744/0.303, allocations: 161.7 kB / 0.9889 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.3033, allocations: 75.88 kB / 0.989 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3033, allocations: 0 / 0.989 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.831e-05/0.3034, allocations: 31.98 kB / 0.989 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.3036, allocations: 7.938 kB / 0.9891 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.3042, allocations: 329.6 kB / 0.9894 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3046, allocations: 0.6887 MB / 0.99 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.3046, allocations: 8 kB / 0.99 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.3046, allocations: 11.44 kB / 0.9901 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.3046, allocations: 0 / 0.9901 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of Templates: time 0.004165/0.3088, allocations: 1.405 MB / 0.9914 GB, free: 468 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)