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 2.16/2.16, allocations: 252 MB / 267.3 MB, free: 10.8 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.001873/0.001873, allocations: 170.5 kB / 327 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.062/3.062, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.001188/0.001188, allocations: 93.92 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005636/0.0005637, allocations: 12.03 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4182, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002549/0.4208, allocations: 1.199 MB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.4228, allocations: 0.7681 MB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.4228, allocations: 0 / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.4229, allocations: 3.984 kB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.324e-05/0.423, allocations: 11.88 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007601/0.4238, allocations: 103.7 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.4239, allocations: 67.84 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.4241, allocations: 15.98 kB / 0.903 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.4242, allocations: 27.91 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.4243, allocations: 35.78 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.4244, allocations: 4 kB / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.4247, allocations: 91.91 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.4247, allocations: 23.84 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.4248, allocations: 57.55 kB / 0.9033 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.4251, allocations: 127.6 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4252, allocations: 0 / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.837e-06/0.4252, allocations: 4 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4252, allocations: 0 / 0.9034 GB, free: 60.69 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.0007772/0.426, allocations: 405.3 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.4261, allocations: 12.03 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.025e-05/0.4261, allocations: 38.73 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.4262, allocations: 8.844 kB / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.4263, allocations: 176.2 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.4264, allocations: 4.375 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.4264, allocations: 8.375 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.4267, allocations: 73.77 kB / 0.9041 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4267, allocations: 0 / 0.9041 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.4267, allocations: 4 kB / 0.9041 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.4267, allocations: 4 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.427, allocations: 43.91 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008468/0.4278, allocations: 324.7 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4281, allocations: 54.56 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.4282, allocations: 36.91 kB / 0.9045 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.4283, allocations: 0 / 0.9045 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/0.4285, allocations: 87.31 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.4286, allocations: 4 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006206/0.4292, allocations: 141.7 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.4292, allocations: 59.41 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4294, allocations: 125.7 kB / 0.9049 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.4294, allocations: 25.7 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.4295, allocations: 92.14 kB / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.4295, allocations: 15.73 kB / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.4295, allocations: 4 kB / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.4296, allocations: 326.7 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.4298, allocations: 31.97 kB / 0.9054 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.4299, allocations: 46.56 kB / 0.9054 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.4302, allocations: 82.55 kB / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4302, allocations: 0 / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003717/0.4306, allocations: 121.5 kB / 0.9056 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4306, allocations: 4 kB / 0.9056 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4307, allocations: 7.938 kB / 0.9056 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.4307, allocations: 0 / 0.9056 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.4308, allocations: 16.05 kB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4309, allocations: 4 kB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.431, allocations: 11.94 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.431, allocations: 4 kB / 0.9057 GB, free: 58.08 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,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.4312, allocations: 125 kB / 0.9058 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.4312, allocations: 7.906 kB / 0.9058 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.4313, allocations: 16.3 kB / 0.9058 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4313, allocations: 4 kB / 0.9058 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4313, allocations: 0 / 0.9058 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4313, allocations: 3.938 kB / 0.9058 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000584/0.4319, allocations: 378.9 kB / 0.9062 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4319, allocations: 0 / 0.9062 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.432, allocations: 4 kB / 0.9062 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.432, allocations: 4 kB / 0.9062 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.432, allocations: 11.98 kB / 0.9062 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.4321, allocations: 3.938 kB / 0.9062 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4321, allocations: 0 / 0.9062 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.4324, allocations: 219.4 kB / 0.9064 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.4325, allocations: 88.95 kB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.4325, allocations: 7.984 kB / 0.9065 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.4327, allocations: 11.94 kB / 0.9065 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.4328, allocations: 3.984 kB / 0.9065 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.4328, allocations: 4 kB / 0.9065 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.366e-05/0.4329, allocations: 91.27 kB / 0.9066 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4329, allocations: 0 / 0.9066 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000553/0.4335, allocations: 36 kB / 0.9067 GB, free: 56.98 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.001043/0.4345, allocations: 0.8153 MB / 0.9075 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.4349, allocations: 79.88 kB / 0.9075 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.4349, allocations: 4 kB / 0.9075 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.4351, allocations: 31.98 kB / 0.9076 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.4356, allocations: 22.2 kB / 0.9076 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.4378, allocations: 1.527 MB / 0.9091 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.438, allocations: 0.6926 MB / 0.9098 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.292e-05/0.4381, allocations: 8 kB / 0.9098 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/0.4382, allocations: 19.42 kB / 0.9098 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.4382, allocations: 0 / 0.9098 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.4567, allocations: 2.351 MB / 0.9121 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000326/0.4571, allocations: 287.8 kB / 0.9123 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.136, allocations: 2.344 kB / 0.9124 GB, free: 51.14 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)