Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.394/2.394, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.002165/0.002165, allocations: 183.3 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.583/2.583, 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.001166/0.001166, allocations: 99.61 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007655/0.000766, allocations: 14.06 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2396, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001818/0.2415, allocations: 1.203 MB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.243, allocations: 0.7306 MB / 0.9008 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.2431, allocations: 0 / 0.9008 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.2431, allocations: 3.938 kB / 0.9008 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.851e-05/0.2432, allocations: 3.984 kB / 0.9008 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.2438, allocations: 107.6 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.789e-05/0.2439, allocations: 39.95 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.244, allocations: 7.984 kB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.2441, allocations: 31.91 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.2442, allocations: 35.84 kB / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.2442, allocations: 4 kB / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.2444, allocations: 67.92 kB / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.2445, allocations: 11.92 kB / 0.9011 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.2445, allocations: 37.7 kB / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.2447, allocations: 99.75 kB / 0.9012 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2447, allocations: 0 / 0.9012 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2447, allocations: 0 / 0.9012 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.2447, allocations: 0 / 0.9012 GB, free: 63.08 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.0006316/0.2454, allocations: 417.1 kB / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2454, allocations: 8.031 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.2455, allocations: 11.86 kB / 0.9016 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.2456, allocations: 167 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.2456, allocations: 3.984 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.2457, allocations: 4 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.2459, allocations: 73.66 kB / 0.9019 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2459, allocations: 0 / 0.9019 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.246, allocations: 4 kB / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.246, allocations: 0 / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.2462, allocations: 43.92 kB / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.2469, allocations: 332.6 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.2471, allocations: 46.56 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.2472, allocations: 0 / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.2474, allocations: 87.48 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.2474, allocations: 0 / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005612/0.248, allocations: 153.4 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.2481, allocations: 55.41 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.2482, allocations: 125.8 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2482, allocations: 25.7 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.2483, allocations: 96.38 kB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.2483, allocations: 15.81 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.2483, allocations: 0 / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.2484, allocations: 318.8 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2485, allocations: 35.98 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2487, allocations: 50.5 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.2488, allocations: 31.92 kB / 0.9032 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2488, allocations: 4 kB / 0.9032 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000384/0.2492, allocations: 121.5 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2493, allocations: 5.25 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2493, allocations: 0 / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2493, allocations: 7.953 kB / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.2495, allocations: 11.98 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2495, allocations: 0 / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.2496, allocations: 19.91 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.2496, allocations: 7.984 kB / 0.9034 GB, free: 60.61 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 9.163e-05/0.2497, allocations: 123.9 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.2498, allocations: 0 / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.2498, allocations: 12.38 kB / 0.9035 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2498, allocations: 0 / 0.9035 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2498, allocations: 3.953 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2498, allocations: 3.984 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.2504, allocations: 386.4 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2504, allocations: 0 / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.2505, allocations: 11.98 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2505, allocations: 0 / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.2505, allocations: 3.953 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2506, allocations: 7.875 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2506, allocations: 8 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.251, allocations: 207.5 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.251, allocations: 85.02 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.251, allocations: 0 / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.2512, allocations: 11.95 kB / 0.9042 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.2512, allocations: 11.98 kB / 0.9042 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.2513, allocations: 0 / 0.9042 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.2513, allocations: 95.92 kB / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2513, allocations: 0 / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004069/0.2517, allocations: 43.92 kB / 0.9044 GB, free: 59.52 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.0004153/0.2522, allocations: 156.7 kB / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.2525, allocations: 79.88 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2525, allocations: 0 / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.2527, allocations: 43.91 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.2529, allocations: 11.31 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.2534, allocations: 205.1 kB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.2536, allocations: 0.6887 MB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.549e-05/0.2537, allocations: 12.17 kB / 0.9055 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.2537, allocations: 11.44 kB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/0.2537, allocations: 0 / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.005049/0.2588, allocations: 1.335 MB / 0.9068 GB, free: 56.94 MB / 0.6042 GB