Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009004/0.0009002, allocations: 180.2 kB / 325.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205 MB / 0.576 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000846/0.0008461, allocations: 86.52 kB / 0.6797 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003451, allocations: 8.5 kB / 0.7933 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.234, allocations: 105.4 MB / 0.8962 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001472/0.2355, allocations: 1.208 MB / 0.8974 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.2365, allocations: 0.7874 MB / 0.8982 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.2366, allocations: 0 / 0.8982 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.2366, allocations: 0 / 0.8982 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.2367, allocations: 15.88 kB / 0.8982 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.2371, allocations: 103.8 kB / 0.8983 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.4e-05/0.2372, allocations: 71.78 kB / 0.8983 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.2373, allocations: 8 kB / 0.8983 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.2374, allocations: 31.89 kB / 0.8984 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.035e-05/0.2374, allocations: 35.84 kB / 0.8984 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.2375, allocations: 8 kB / 0.8984 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.2376, allocations: 91.84 kB / 0.8985 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.2376, allocations: 11.97 kB / 0.8985 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.2377, allocations: 31.8 kB / 0.8985 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.2378, allocations: 135.7 kB / 0.8987 GB, free: 65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2379, allocations: 0 / 0.8987 GB, free: 65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2379, allocations: 0 / 0.8987 GB, free: 65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2379, allocations: 0 / 0.8987 GB, free: 65 MB / 0.6042 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.000475/0.2384, allocations: 413 kB / 0.8991 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2384, allocations: 8.031 kB / 0.8991 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.2384, allocations: 34.75 kB / 0.8991 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.2385, allocations: 8.844 kB / 0.8991 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.489e-05/0.2386, allocations: 168.3 kB / 0.8993 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.2386, allocations: 4.375 kB / 0.8993 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.2386, allocations: 8.359 kB / 0.8993 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.2388, allocations: 77.77 kB / 0.8994 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2388, allocations: 4 kB / 0.8994 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2388, allocations: 4 kB / 0.8994 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.2388, allocations: 0 / 0.8994 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2389, allocations: 47.91 kB / 0.8994 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.2394, allocations: 324.6 kB / 0.8997 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.2395, allocations: 46.56 kB / 0.8998 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.2396, allocations: 36.91 kB / 0.8998 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.2396, allocations: 4 kB / 0.8998 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.2398, allocations: 83.31 kB / 0.8999 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2398, allocations: 0 / 0.8999 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003326/0.2401, allocations: 157.7 kB / 0.9 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.2402, allocations: 51.41 kB / 0.9001 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.311e-05/0.2402, allocations: 129.6 kB / 0.9002 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2402, allocations: 29.7 kB / 0.9002 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.2403, allocations: 92.12 kB / 0.9003 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.2403, allocations: 15.81 kB / 0.9003 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.2403, allocations: 17.72 kB / 0.9004 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.2404, allocations: 318.8 kB / 0.9007 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.2405, allocations: 35.98 kB / 0.9007 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.2405, allocations: 54.48 kB / 0.9008 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.2407, allocations: 78.55 kB / 0.9008 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2407, allocations: 0 / 0.9008 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001915/0.2409, allocations: 117.5 kB / 0.9009 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2409, allocations: 8 kB / 0.9009 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2409, allocations: 0 / 0.9009 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2409, allocations: 8.047 kB / 0.901 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.241, allocations: 11.94 kB / 0.901 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.241, allocations: 4 kB / 0.901 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.2411, allocations: 11.92 kB / 0.901 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.2411, allocations: 8 kB / 0.901 GB, free: 62.37 MB / 0.6042 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 5.855e-05/0.2412, allocations: 117.8 kB / 0.9011 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.2412, allocations: 7.906 kB / 0.9011 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.2412, allocations: 12.38 kB / 0.9011 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2412, allocations: 7.984 kB / 0.9011 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2412, allocations: 0 / 0.9011 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2413, allocations: 4 kB / 0.9011 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.2416, allocations: 378.4 kB / 0.9015 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2416, allocations: 0 / 0.9015 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.2416, allocations: 12 kB / 0.9015 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2417, allocations: 0 / 0.9015 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.2417, allocations: 3.938 kB / 0.9015 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2417, allocations: 3.938 kB / 0.9015 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2417, allocations: 3.984 kB / 0.9015 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.2419, allocations: 223.3 kB / 0.9017 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.2419, allocations: 89 kB / 0.9018 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.242, allocations: 0 / 0.9018 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.2421, allocations: 11.92 kB / 0.9018 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.2421, allocations: 8 kB / 0.9018 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.2421, allocations: 7.922 kB / 0.9018 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.207e-05/0.2422, allocations: 91.27 kB / 0.9019 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2422, allocations: 4 kB / 0.9019 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002449/0.2424, allocations: 36 kB / 0.902 GB, free: 61.27 MB / 0.6042 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.0005922/0.243, allocations: 0.8138 MB / 0.9028 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.2432, allocations: 75.95 kB / 0.9028 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2432, allocations: 0 / 0.9028 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.253e-05/0.2433, allocations: 43.91 kB / 0.9029 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.2436, allocations: 12 kB / 0.9029 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.2448, allocations: 1.507 MB / 0.9044 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.2449, allocations: 0.6887 MB / 0.905 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.245, allocations: 15.92 kB / 0.905 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.245, allocations: 23.38 kB / 0.9051 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.245, allocations: 0 / 0.9051 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/0.256, allocations: 2.341 MB / 0.9074 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/0.2562, allocations: 291.1 kB / 0.9076 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.872, allocations: 4 kB / 0.9076 GB, free: 55.44 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)