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/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: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000829/0.0008292, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00104/0.00104, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.344 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.982/1.982, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0006038/0.0006039, allocations: 13.34 kB / 0.6738 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3241, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002736/0.3269, allocations: 1.187 MB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3289, allocations: 0.7154 MB / 0.7893 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.329, allocations: 3.938 kB / 0.7893 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.3291, allocations: 7.922 kB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.3292, allocations: 11.92 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.33, allocations: 91.77 kB / 0.7894 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.3302, allocations: 67.77 kB / 0.7894 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3303, allocations: 8 kB / 0.7894 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.3305, allocations: 35.91 kB / 0.7895 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3307, allocations: 35.83 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.3307, allocations: 4 kB / 0.7895 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.331, allocations: 79.92 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.331, allocations: 15.92 kB / 0.7896 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.3311, allocations: 37.69 kB / 0.7896 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.3314, allocations: 104 kB / 0.7897 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3314, allocations: 0 / 0.7897 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3314, allocations: 0 / 0.7897 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3314, allocations: 0 / 0.7897 GB, free: 9.414 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.0009115/0.3323, allocations: 404.9 kB / 0.7901 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.3324, allocations: 11.97 kB / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.705e-05/0.3325, allocations: 42.55 kB / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.3326, allocations: 7.906 kB / 0.7902 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.3328, allocations: 171 kB / 0.7903 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.3329, allocations: 0 / 0.7903 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.3329, allocations: 8 kB / 0.7904 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3332, allocations: 77.62 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3332, allocations: 0 / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3333, allocations: 4 kB / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.3333, allocations: 0 / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.3335, allocations: 39.92 kB / 0.7905 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008357/0.3343, allocations: 328.7 kB / 0.7908 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3345, allocations: 46.56 kB / 0.7908 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.3346, allocations: 36.97 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.3347, allocations: 0 / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.3349, allocations: 87.31 kB / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.335, allocations: 0 / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000561/0.3355, allocations: 153.6 kB / 0.7911 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.3357, allocations: 59.39 kB / 0.7911 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3358, allocations: 117.8 kB / 0.7913 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.3359, allocations: 29.7 kB / 0.7913 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.336, allocations: 96.25 kB / 0.7914 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.336, allocations: 11.81 kB / 0.7914 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.3361, allocations: 8 kB / 0.7914 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002807/0.3364, allocations: 318.8 kB / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.3365, allocations: 31.92 kB / 0.7917 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.3367, allocations: 50.5 kB / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3369, allocations: 36.3 kB / 0.7918 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3369, allocations: 0 / 0.7918 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003485/0.3373, allocations: 125.5 kB / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3373, allocations: 8 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3373, allocations: 0 / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3373, allocations: 4.062 kB / 0.7919 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3375, allocations: 11.98 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.3375, allocations: 7.953 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.3376, allocations: 8 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.3376, allocations: 4 kB / 0.792 GB, free: 6.871 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,$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.0001532/0.3378, allocations: 125.7 kB / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3378, allocations: 11.91 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.3379, allocations: 12.38 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.3379, allocations: 7.984 kB / 0.7921 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3379, allocations: 0 / 0.7921 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3379, allocations: 3.953 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007988/0.3387, allocations: 374.5 kB / 0.7925 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3387, allocations: 0 / 0.7925 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.3388, allocations: 11.98 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.3388, allocations: 4 kB / 0.7925 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3389, allocations: 4 kB / 0.7925 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.3389, allocations: 7.891 kB / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3389, allocations: 0 / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.3393, allocations: 219.4 kB / 0.7927 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.3394, allocations: 81.02 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.3394, allocations: 4 kB / 0.7928 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.3395, allocations: 8 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.3396, allocations: 7.938 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3396, allocations: 4 kB / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.791e-05/0.3397, allocations: 91.92 kB / 0.7929 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.645e-06/0.3397, allocations: 0 / 0.7929 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005016/0.3402, allocations: 43.92 kB / 0.793 GB, free: 5.77 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 (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.001339/0.3416, allocations: 0.8003 MB / 0.7937 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.3419, allocations: 84.19 kB / 0.7938 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3419, allocations: 0 / 0.7938 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.342, allocations: 36.14 kB / 0.7939 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3423, allocations: 20.06 kB / 0.7939 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.3435, allocations: 0.6033 MB / 0.7945 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.344, allocations: 0.6915 MB / 0.7951 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.448e-05/0.344, allocations: 12.17 kB / 0.7951 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.3441, allocations: 19.44 kB / 0.7952 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.3441, allocations: 0 / 0.7952 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.3605, allocations: 2.345 MB / 0.7975 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/0.3608, allocations: 252.7 kB / 0.7977 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.31, allocations: 3.938 kB / 0.7977 GB, free: 0.9297 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) Environment - environmentSimulation: