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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001674/0.001674, allocations: 191.2 kB / 16.25 MB, free: 6.637 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.534/1.534, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.525/1.525, allocations: 251.6 MB / 0.5089 GB, free: 3.32 MB / 414.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.001752/0.001753, allocations: 67.89 kB / 0.6217 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5256, allocations: 104.7 MB / 0.724 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002715/0.5283, allocations: 1.546 MB / 0.7255 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.5296, allocations: 0.764 MB / 0.7262 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.5296, allocations: 4 kB / 0.7262 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.5297, allocations: 0 / 0.7262 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.988e-05/0.5297, allocations: 11.86 kB / 0.7263 GB, free: 10.91 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.0005515/0.5303, allocations: 119.8 kB / 0.7264 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.616e-05/0.5304, allocations: 75.77 kB / 0.7264 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.5305, allocations: 8 kB / 0.7264 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.84e-05/0.5306, allocations: 35.89 kB / 0.7265 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.5306, allocations: 35.84 kB / 0.7265 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.5307, allocations: 8 kB / 0.7265 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.5308, allocations: 99.84 kB / 0.7266 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.5309, allocations: 19.92 kB / 0.7266 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.5309, allocations: 31.84 kB / 0.7267 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.5311, allocations: 141.8 kB / 0.7268 GB, free: 10.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5311, allocations: 0 / 0.7268 GB, free: 10.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.146e-06/0.5311, allocations: 0 / 0.7268 GB, free: 10.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.5312, allocations: 7.875 kB / 0.7268 GB, free: 10.34 MB / 0.545 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.0005431/0.5317, allocations: 424.8 kB / 0.7272 GB, free: 9.867 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.5317, allocations: 8.031 kB / 0.7272 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.5318, allocations: 12.84 kB / 0.7272 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.5319, allocations: 168.3 kB / 0.7274 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.5319, allocations: 4.375 kB / 0.7274 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.5319, allocations: 8.375 kB / 0.7274 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.5321, allocations: 69.95 kB / 0.7275 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.5321, allocations: 0 / 0.7275 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5321, allocations: 4 kB / 0.7275 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-06/0.5321, allocations: 0 / 0.7275 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.5323, allocations: 39.91 kB / 0.7275 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.5328, allocations: 320.7 kB / 0.7278 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.5329, allocations: 46.56 kB / 0.7279 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.5331, allocations: 32.97 kB / 0.7279 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.5331, allocations: 8 kB / 0.7279 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.5333, allocations: 75.31 kB / 0.728 GB, free: 8.969 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 3.156e-06/0.5333, allocations: 0 / 0.728 GB, free: 8.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003678/0.5337, allocations: 141.5 kB / 0.7281 GB, free: 8.824 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.5337, allocations: 63.45 kB / 0.7282 GB, free: 8.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.5338, allocations: 117.8 kB / 0.7283 GB, free: 8.625 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.5338, allocations: 29.7 kB / 0.7283 GB, free: 8.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.5339, allocations: 92.12 kB / 0.7284 GB, free: 8.496 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.5339, allocations: 11.81 kB / 0.7284 GB, free: 8.484 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.534, allocations: 29.7 kB / 0.7284 GB, free: 8.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5341, allocations: 322.8 kB / 0.7288 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-05/0.5342, allocations: 27.97 kB / 0.7288 GB, free: 8.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.457e-05/0.5343, allocations: 54.94 kB / 0.7288 GB, free: 8.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.5344, allocations: 66.55 kB / 0.7289 GB, free: 7.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5344, allocations: 4 kB / 0.7289 GB, free: 7.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002134/0.5346, allocations: 105.5 kB / 0.729 GB, free: 7.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5347, allocations: 12.06 kB / 0.729 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.5347, allocations: 0 / 0.729 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.5347, allocations: 0 / 0.729 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.5348, allocations: 19.92 kB / 0.729 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.5348, allocations: 4 kB / 0.729 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.5349, allocations: 11.84 kB / 0.729 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.5349, allocations: 400 / 0.729 GB, free: 7.801 MB / 0.545 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 7.977e-05/0.535, allocations: 121.8 kB / 0.7292 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.535, allocations: 11.98 kB / 0.7292 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.535, allocations: 8.375 kB / 0.7292 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.535, allocations: 0 / 0.7292 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.535, allocations: 7.922 kB / 0.7292 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.535, allocations: 3.938 kB / 0.7292 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.5355, allocations: 390.3 kB / 0.7296 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5355, allocations: 4 kB / 0.7296 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.5355, allocations: 0 / 0.7296 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5355, allocations: 8 kB / 0.7296 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.5355, allocations: 7.984 kB / 0.7296 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5355, allocations: 0 / 0.7296 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5356, allocations: 3.938 kB / 0.7296 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.5358, allocations: 207.4 kB / 0.7298 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.5359, allocations: 85 kB / 0.7299 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.5359, allocations: 4 kB / 0.7299 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.536, allocations: 8 kB / 0.7299 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.536, allocations: 11.92 kB / 0.7299 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.536, allocations: 0 / 0.7299 GB, free: 6.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.5361, allocations: 99.42 kB / 0.73 GB, free: 6.738 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5361, allocations: 0 / 0.73 GB, free: 6.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002806/0.5364, allocations: 39.94 kB / 0.73 GB, free: 6.699 MB / 0.545 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.0002653/0.5366, allocations: 158.1 kB / 0.7302 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.5369, allocations: 71.89 kB / 0.7302 GB, free: 6.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.5369, allocations: 4 kB / 0.7302 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.537, allocations: 35.92 kB / 0.7303 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.5372, allocations: 4.312 kB / 0.7303 GB, free: 6.438 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.5376, allocations: 209 kB / 0.7305 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.5378, allocations: 0.6885 MB / 0.7312 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.5379, allocations: 0 / 0.7312 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.5379, allocations: 23.36 kB / 0.7312 GB, free: 5.469 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5379, allocations: 0 / 0.7312 GB, free: 5.469 MB / 0.545 GB Notification: Performance of Templates: time 0.003465/0.5414, allocations: 1.42 MB / 0.7326 GB, free: 4.086 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)