Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.321/2.321, allocations: 251.1 MB / 266.1 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001585, allocations: 178.2 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.886/2.886, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 101.9 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004596, allocations: 12.94 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2523, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001933/0.2543, allocations: 1.195 MB / 0.9 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2558, allocations: 0.7267 MB / 0.9008 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.256, allocations: 3.938 kB / 0.9008 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.256, allocations: 0 / 0.9008 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.47e-05/0.2561, allocations: 7.984 kB / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.2567, allocations: 99.62 kB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.773e-05/0.2568, allocations: 43.94 kB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.2569, allocations: 7.984 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.257, allocations: 39.91 kB / 0.901 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.719e-05/0.2571, allocations: 27.84 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2571, allocations: 4 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.2573, allocations: 67.92 kB / 0.901 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.2574, allocations: 15.92 kB / 0.9011 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.2574, allocations: 33.7 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.2576, allocations: 99.75 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2576, allocations: 0 / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.945e-06/0.2576, allocations: 4 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2577, allocations: 3.938 kB / 0.9012 GB, free: 63.09 MB / 0.6042 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.0006571/0.2583, allocations: 413.1 kB / 0.9016 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2584, allocations: 11.97 kB / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.2584, allocations: 15.84 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2586, allocations: 163.1 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.2586, allocations: 4 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.2586, allocations: 7.984 kB / 0.9018 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.2589, allocations: 73.66 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2589, allocations: 0 / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.2589, allocations: 0 / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2589, allocations: 0 / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.2592, allocations: 47.92 kB / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007764/0.2599, allocations: 328.6 kB / 0.9022 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.2601, allocations: 46.56 kB / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.2602, allocations: 0 / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.2604, allocations: 83.5 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.467e-06/0.2605, allocations: 0 / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005758/0.261, allocations: 153.4 kB / 0.9025 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2611, allocations: 71.45 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.2612, allocations: 121.7 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2612, allocations: 29.7 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.2613, allocations: 88.31 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.2613, allocations: 15.81 kB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.2614, allocations: 4 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.2614, allocations: 318.8 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.2616, allocations: 31.98 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.2617, allocations: 46.56 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.2619, allocations: 35.92 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2619, allocations: 0 / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003704/0.2623, allocations: 121.5 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2623, allocations: 4 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2623, allocations: 0 / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2624, allocations: 7.953 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.2625, allocations: 11.98 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2626, allocations: 0 / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.2627, allocations: 23.91 kB / 0.9034 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.2627, allocations: 4 kB / 0.9034 GB, free: 60.62 MB / 0.6042 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.2628, allocations: 121.8 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.2629, allocations: 4 kB / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.2629, allocations: 8.375 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2629, allocations: 0 / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2629, allocations: 3.953 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.263, allocations: 3.938 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.2636, allocations: 390.4 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2636, allocations: 0 / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.507e-05/0.2637, allocations: 11.92 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2637, allocations: 0 / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.2637, allocations: 11.95 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2637, allocations: 3.938 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2637, allocations: 4 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.2641, allocations: 211.5 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.2642, allocations: 81.02 kB / 0.9042 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.2642, allocations: 0 / 0.9042 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.2644, allocations: 15.95 kB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.2644, allocations: 7.984 kB / 0.9042 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.2645, allocations: 4 kB / 0.9042 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.567e-05/0.2645, allocations: 91.27 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2645, allocations: 0 / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004206/0.265, allocations: 43.92 kB / 0.9044 GB, free: 59.53 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004233/0.2654, allocations: 163.7 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003807/0.2658, allocations: 67.97 kB / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2658, allocations: 4 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.266, allocations: 47.98 kB / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.2662, allocations: 13.62 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.2668, allocations: 201.1 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.2669, allocations: 0.6926 MB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.205e-05/0.267, allocations: 8.172 kB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.2671, allocations: 11.44 kB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.2671, allocations: 0 / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.005223/0.2723, allocations: 1.322 MB / 0.9068 GB, free: 56.96 MB / 0.6042 GB