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.001736/0.001736, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001931/0.001931, allocations: 196.4 kB / 16.14 MB, free: 6.656 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.597/1.597, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 66.09 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.374, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003145/0.3772, allocations: 1.541 MB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.3785, allocations: 0.7401 MB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.3785, allocations: 3.938 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.994e-05/0.3786, allocations: 3.938 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.022e-05/0.3787, allocations: 11.92 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.3791, allocations: 103.8 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.544e-05/0.3793, allocations: 67.78 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.3794, allocations: 15.98 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.3794, allocations: 35.89 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.683e-05/0.3795, allocations: 35.84 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3795, allocations: 4 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.3797, allocations: 91.84 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.3798, allocations: 19.91 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.3798, allocations: 27.86 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.38, allocations: 135.9 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3801, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3801, allocations: 4 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.3801, allocations: 4 kB / 1.07 GB, free: 8.062 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.0006209/0.3807, allocations: 413 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3807, allocations: 12.03 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3808, allocations: 8.844 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3809, allocations: 180.2 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.3809, allocations: 384 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.381, allocations: 8.375 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3812, allocations: 73.95 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3812, allocations: 7.938 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3812, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3812, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.3814, allocations: 35.97 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/0.382, allocations: 316.7 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.3821, allocations: 50.5 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.401e-05/0.3822, allocations: 32.97 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3822, allocations: 0 / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.3824, allocations: 83.36 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3825, allocations: 0 / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003957/0.3829, allocations: 145.5 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3829, allocations: 59.41 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.383, allocations: 121.8 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3831, allocations: 25.7 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.3831, allocations: 92.12 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.3831, allocations: 15.75 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.3832, allocations: 29.7 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3833, allocations: 330.8 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.3834, allocations: 27.98 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.3835, allocations: 42.56 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.3837, allocations: 78.48 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3837, allocations: 0 / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002347/0.3839, allocations: 117.5 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3839, allocations: 4 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.384, allocations: 0 / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.384, allocations: 4 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.3841, allocations: 11.98 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.3841, allocations: 0 / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.194e-05/0.3842, allocations: 12.06 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.3842, allocations: 11.88 kB / 1.073 GB, free: 5.512 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.186e-05/0.3843, allocations: 121.8 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.3843, allocations: 7.906 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.3843, allocations: 8.375 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3844, allocations: 0 / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3844, allocations: 4 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3844, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.3848, allocations: 382.8 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3849, allocations: 0 / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.3849, allocations: 7.984 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.3849, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3849, allocations: 4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3849, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3849, allocations: 7.875 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.3852, allocations: 219.5 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.3853, allocations: 81.02 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3853, allocations: 4 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.3854, allocations: 4 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.3854, allocations: 15.86 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3855, allocations: 4 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.988e-05/0.3855, allocations: 91.92 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3855, allocations: 0 / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002859/0.3858, allocations: 43.98 kB / 1.073 GB, free: 4.426 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.0003436/0.3862, allocations: 161.5 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3864, allocations: 67.91 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3864, allocations: 8.062 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.905e-05/0.3865, allocations: 35.97 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.3868, allocations: 8.562 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.3872, allocations: 198.6 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.3875, allocations: 0.6926 MB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.3875, allocations: 7.984 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.3875, allocations: 7.438 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3876, allocations: 0 / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of Templates: time 0.004109/0.3917, allocations: 1.371 MB / 1.076 GB, free: 1.836 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)