Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001281/0.001281, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001559/0.00156, allocations: 190 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.043/3.043, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 61.28 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3534, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002559/0.356, allocations: 1.537 MB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3572, allocations: 0.7401 MB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.3573, allocations: 7.938 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.3573, allocations: 3.984 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.712e-05/0.3574, allocations: 3.938 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.3579, allocations: 103.8 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.82e-05/0.358, allocations: 67.78 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3581, allocations: 23.95 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.3582, allocations: 31.86 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.558e-05/0.3583, allocations: 35.89 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.3583, allocations: 4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.3585, allocations: 95.84 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.3585, allocations: 15.91 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.3586, allocations: 27.86 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.3588, allocations: 139.9 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3589, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3589, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3589, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 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.0007012/0.3596, allocations: 417 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3596, allocations: 8.031 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.3597, allocations: 8.844 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3598, allocations: 188.1 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.3598, allocations: 4.375 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3599, allocations: 4.375 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.3601, allocations: 73.91 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3601, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.3601, allocations: 12 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3601, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.3602, allocations: 35.97 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006785/0.3609, allocations: 312.7 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.3611, allocations: 54.55 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.3612, allocations: 28.97 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.3612, allocations: 4 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.3614, allocations: 75.45 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3614, allocations: 0 / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004068/0.3618, allocations: 145.5 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.3619, allocations: 55.41 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.524e-05/0.362, allocations: 125.7 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.362, allocations: 25.7 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.3622, allocations: 88.14 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.3622, allocations: 19.75 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.3623, allocations: 29.7 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3624, allocations: 326.8 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.946e-05/0.3625, allocations: 23.98 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/0.3626, allocations: 50.98 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.3628, allocations: 70.44 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3628, allocations: 4 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002281/0.363, allocations: 117.5 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.363, allocations: 8 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.363, allocations: 0 / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3631, allocations: 0 / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.9e-05/0.3632, allocations: 11.98 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3632, allocations: 7.938 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.3632, allocations: 8 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.3633, allocations: 8.438 kB / 1.073 GB, free: 5.547 MB / 0.8262 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 9.075e-05/0.3634, allocations: 121.8 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.3634, allocations: 7.891 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.3634, allocations: 12.38 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3634, allocations: 0 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3634, allocations: 0 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3634, allocations: 0 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.3639, allocations: 390.3 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3639, allocations: 0 / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.364, allocations: 7.984 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.364, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.364, allocations: 8 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.364, allocations: 3.938 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.364, allocations: 3.938 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.3643, allocations: 211.4 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.3643, allocations: 81.02 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.3644, allocations: 3.938 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-05/0.3645, allocations: 15.98 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.3645, allocations: 7.938 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3645, allocations: 0 / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.396e-05/0.3646, allocations: 99.42 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3646, allocations: 0 / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002973/0.3649, allocations: 39.98 kB / 1.073 GB, free: 4.453 MB / 0.8262 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.0003485/0.3652, allocations: 155.8 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.3655, allocations: 67.91 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3655, allocations: 0 / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.3656, allocations: 40.09 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.3659, allocations: 11.14 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.3664, allocations: 202.5 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.3668, allocations: 0.6888 MB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.41e-05/0.3669, allocations: 7.984 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.3669, allocations: 11.44 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3669, allocations: 0 / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.004986/0.3719, allocations: 1.377 MB / 1.076 GB, free: 1.863 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)