Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001092/0.001092, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001309/0.001309, allocations: 192.7 kB / 16.25 MB, free: 6.156 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.08 kB / 0.9115 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3715, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.00279/0.3744, allocations: 1.531 MB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.3757, allocations: 0.7322 MB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.3757, allocations: 0 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.258e-05/0.3758, allocations: 3.938 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.381e-05/0.3758, allocations: 7.922 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.3764, allocations: 107.8 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3766, allocations: 79.77 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3767, allocations: 15.98 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.3768, allocations: 39.89 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.3769, allocations: 35.84 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.3769, allocations: 4 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.3771, allocations: 99.84 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.3771, allocations: 19.91 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.3772, allocations: 31.86 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.3774, allocations: 135.9 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3774, allocations: 4 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3774, allocations: 0 / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3774, allocations: 4 kB / 1.07 GB, free: 7.922 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.0006556/0.3781, allocations: 417 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3782, allocations: 8.031 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.3782, allocations: 12.84 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.3783, allocations: 172.2 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.3784, allocations: 384 / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.3784, allocations: 12.3 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3786, allocations: 81.94 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3786, allocations: 4 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3786, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3787, allocations: 3.938 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.3788, allocations: 39.97 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.3795, allocations: 308.8 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.3796, allocations: 50.5 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.725e-05/0.3797, allocations: 36.97 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3798, allocations: 0 / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.38, allocations: 79.38 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.38, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004433/0.3805, allocations: 149.5 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.3805, allocations: 51.41 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3807, allocations: 129.7 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.3807, allocations: 25.7 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.3808, allocations: 92.12 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3808, allocations: 15.75 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.3808, allocations: 37.64 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.381, allocations: 322.8 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.3811, allocations: 27.98 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.125e-05/0.3812, allocations: 46.55 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3813, allocations: 78.48 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3814, allocations: 0 / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002587/0.3816, allocations: 117.5 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3816, allocations: 4 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3817, allocations: 0 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3817, allocations: 4 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3818, allocations: 11.98 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3818, allocations: 3.938 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.3819, allocations: 8.062 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.3819, allocations: 8 kB / 1.073 GB, free: 5.363 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 0.0001015/0.382, allocations: 124.8 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.382, allocations: 11.89 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.3821, allocations: 8.375 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3821, allocations: 4 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3821, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3821, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.3826, allocations: 382.4 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3826, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.3826, allocations: 4 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3826, allocations: 3.984 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3827, allocations: 0 / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3827, allocations: 4 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.3827, allocations: 3.938 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.383, allocations: 211.9 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.3831, allocations: 89 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.3831, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.3832, allocations: 4 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.3832, allocations: 11.92 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3832, allocations: 4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.247e-05/0.3833, allocations: 91.27 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.284e-06/0.3833, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003369/0.3837, allocations: 43.94 kB / 1.074 GB, free: 4.285 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.0003654/0.384, allocations: 166 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.3843, allocations: 75.89 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3843, allocations: 4.125 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3844, allocations: 31.98 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.3847, allocations: 11.98 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.3852, allocations: 204.3 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.3855, allocations: 0.6924 MB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.3855, allocations: 7.984 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.3855, allocations: 19.42 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of SimCode: time 9.01e-07/0.3856, allocations: 0 / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of Templates: time 0.004666/0.3902, allocations: 1.404 MB / 1.076 GB, free: 1.641 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)