Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 58.97 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3301, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003822/0.334, allocations: 1.472 MB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3357, allocations: 0.736 MB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.031e-05/0.3358, allocations: 0 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.344e-05/0.3359, allocations: 15.81 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.392e-05/0.336, allocations: 11.92 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007824/0.3368, allocations: 123.5 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.3369, allocations: 71.84 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3371, allocations: 19.95 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.3372, allocations: 31.91 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.988e-05/0.3373, allocations: 43.78 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.3373, allocations: 12 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.3375, allocations: 91.91 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.3376, allocations: 23.89 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.3377, allocations: 31.86 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.3381, allocations: 143.9 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3381, allocations: 3.938 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3381, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3381, allocations: 0 / 1.071 GB, free: 7.582 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.0009996/0.3391, allocations: 413 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/0.3392, allocations: 8.031 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.3393, allocations: 8.844 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.3395, allocations: 176.2 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.3395, allocations: 8.375 kB / 1.072 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.3396, allocations: 4.375 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.3399, allocations: 73.95 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3399, allocations: 0 / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.3399, allocations: 0 / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3399, allocations: 4 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.3401, allocations: 47.84 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008681/0.341, allocations: 308.8 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.3411, allocations: 54.55 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.035e-05/0.3412, allocations: 32.97 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.3413, allocations: 4 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.3416, allocations: 75.31 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.464e-06/0.3416, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004718/0.3421, allocations: 141.6 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.3421, allocations: 55.41 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3423, allocations: 129.7 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3423, allocations: 29.7 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.3424, allocations: 88.14 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.3424, allocations: 19.75 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.3425, allocations: 29.7 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3427, allocations: 318.8 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.733e-05/0.3427, allocations: 31.98 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3429, allocations: 50.48 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.343, allocations: 70.5 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3431, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00027/0.3433, allocations: 121.8 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3434, allocations: 4 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3434, allocations: 4.078 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3434, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3435, allocations: 15.92 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.3435, allocations: 3.984 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.3436, allocations: 7.938 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.3436, allocations: 7.984 kB / 1.073 GB, free: 5.035 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.000125/0.3438, allocations: 126.4 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.3438, allocations: 7.906 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.3438, allocations: 8.375 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3438, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3439, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3439, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.3444, allocations: 382.4 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3444, allocations: 4 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.3445, allocations: 11.98 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3445, allocations: 0 / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3445, allocations: 4 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3445, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3445, allocations: 3.938 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.3448, allocations: 215.3 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.3449, allocations: 89.02 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.3449, allocations: 0 / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.345, allocations: 7.984 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.345, allocations: 11.94 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.3451, allocations: 0 / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.3451, allocations: 91.27 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3451, allocations: 0 / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000322/0.3455, allocations: 43.98 kB / 1.074 GB, free: 3.949 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.0004048/0.3459, allocations: 161 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.3461, allocations: 79.83 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3461, allocations: 0 / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3463, allocations: 35.92 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.3465, allocations: 16.12 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.347, allocations: 180.8 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.3473, allocations: 0.6846 MB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.704e-05/0.3473, allocations: 11.98 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.3474, allocations: 15.44 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3474, allocations: 0 / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of Templates: time 0.004508/0.3519, allocations: 1.452 MB / 1.077 GB, free: 1.277 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)