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.0009832/0.0009832, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00826/0.00826, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.456/1.456, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.977/2.977, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003652, allocations: 10.92 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.332, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001655/0.3337, allocations: 1.196 MB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.335, allocations: 0.7207 MB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.335, allocations: 0 / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.3351, allocations: 7.938 kB / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.95e-05/0.3352, allocations: 11.88 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.3357, allocations: 107.8 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.3358, allocations: 63.84 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.3359, allocations: 11.98 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.3361, allocations: 35.89 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.3361, allocations: 31.84 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3362, allocations: 8 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.3364, allocations: 95.84 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.3364, allocations: 15.91 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.402e-05/0.3365, allocations: 49.56 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.3367, allocations: 143.9 kB / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3368, allocations: 0 / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3368, allocations: 0 / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3368, allocations: 0 / 1.077 GB, free: 5.02 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.0006252/0.3374, allocations: 409 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3375, allocations: 12.03 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.3375, allocations: 8.844 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3376, allocations: 164.3 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.3377, allocations: 4.375 kB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.3377, allocations: 8.375 kB / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.3379, allocations: 73.95 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3379, allocations: 0 / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.338, allocations: 15.92 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.338, allocations: 0 / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.3381, allocations: 39.92 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.3388, allocations: 328.7 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3389, allocations: 54.5 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.269e-05/0.339, allocations: 32.97 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3391, allocations: 0 / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.3393, allocations: 91.3 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3393, allocations: 0 / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000438/0.3397, allocations: 149.6 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.3398, allocations: 55.41 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.3399, allocations: 125.8 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3399, allocations: 25.7 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.34, allocations: 92.14 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.34, allocations: 15.73 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.34, allocations: 17.72 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3402, allocations: 326.8 kB / 1.079 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.199e-05/0.3403, allocations: 31.98 kB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/0.3404, allocations: 54.48 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.3406, allocations: 78.56 kB / 1.079 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3406, allocations: 0 / 1.079 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002619/0.3408, allocations: 121.5 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3409, allocations: 4 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3409, allocations: 4 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3409, allocations: 4.062 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.341, allocations: 15.92 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.341, allocations: 4.391 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.3411, allocations: 7.906 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.3411, allocations: 11.98 kB / 1.079 GB, free: 2.434 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.461e-05/0.3412, allocations: 121.8 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.3412, allocations: 7.938 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.3413, allocations: 8.375 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3413, allocations: 0 / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3413, allocations: 0 / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3413, allocations: 4 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.3418, allocations: 394.2 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3418, allocations: 0 / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.3418, allocations: 11.98 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3418, allocations: 0 / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3418, allocations: 4 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3418, allocations: 0 / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3419, allocations: 3.938 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.3421, allocations: 223.4 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.3422, allocations: 85.02 kB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3422, allocations: 4 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.3423, allocations: 7.984 kB / 1.08 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.3424, allocations: 3.938 kB / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3424, allocations: 4 kB / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.315e-05/0.3424, allocations: 95.27 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3424, allocations: 0 / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003145/0.3428, allocations: 35.98 kB / 1.08 GB, free: 1.34 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.0003397/0.3431, allocations: 163.9 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3434, allocations: 75.91 kB / 1.08 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3434, allocations: 4.125 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3435, allocations: 39.97 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.3438, allocations: 9.828 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.3442, allocations: 223 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.3444, allocations: 0.6887 MB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.3444, allocations: 7.938 kB / 1.081 GB, free: 92 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.3445, allocations: 11.44 kB / 1.081 GB, free: 80 kB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3445, allocations: 0 / 1.081 GB, free: 80 kB / 0.8262 GB Notification: Performance of Templates: time 0.004085/0.3486, allocations: 1.359 MB / 1.082 GB, free: 14.73 MB / 0.8419 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)