Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.711/2.711, 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.001547/0.001547, allocations: 186.9 kB / 325.6 MB, free: 2.855 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.531/2.531, allocations: 205.4 MB / 0.5766 GB, free: 21.19 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.00107/0.00107, allocations: 99.31 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004814, allocations: 11.91 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2182, allocations: 106.3 MB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001906/0.2202, allocations: 1.203 MB / 0.9001 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.2217, allocations: 0.7267 MB / 0.9008 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.2218, allocations: 4 kB / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.2218, allocations: 7.938 kB / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.377e-05/0.2219, allocations: 7.984 kB / 0.9008 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.2225, allocations: 99.62 kB / 0.9009 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.913e-05/0.2226, allocations: 39.95 kB / 0.9009 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2228, allocations: 11.97 kB / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.638e-05/0.2229, allocations: 27.92 kB / 0.901 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.223, allocations: 39.83 kB / 0.901 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.223, allocations: 4 kB / 0.901 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.2232, allocations: 67.94 kB / 0.9011 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.2233, allocations: 15.91 kB / 0.9011 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.2233, allocations: 33.7 kB / 0.9011 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.2235, allocations: 99.77 kB / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2235, allocations: 0 / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.474e-06/0.2235, allocations: 0 / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2235, allocations: 0 / 0.9012 GB, free: 63.59 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.0007735/0.2243, allocations: 408.8 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.2244, allocations: 12.03 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.2245, allocations: 11.86 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2246, allocations: 171 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.2247, allocations: 4 kB / 0.9018 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.2247, allocations: 8 kB / 0.9018 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.225, allocations: 65.66 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.225, allocations: 4 kB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.225, allocations: 0 / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2251, allocations: 4 kB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.2253, allocations: 43.92 kB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007657/0.2261, allocations: 324.6 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.2263, allocations: 54.56 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.2263, allocations: 3.938 kB / 0.9023 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.2266, allocations: 83.56 kB / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/0.2266, allocations: 0 / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006018/0.2272, allocations: 157.4 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2272, allocations: 51.41 kB / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.2273, allocations: 125.8 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.2274, allocations: 25.7 kB / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.2274, allocations: 96.31 kB / 0.9028 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.2275, allocations: 7.812 kB / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.2275, allocations: 8 kB / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.2276, allocations: 318.8 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.2277, allocations: 23.98 kB / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2279, allocations: 50.56 kB / 0.9032 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.228, allocations: 35.98 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.228, allocations: 0 / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003654/0.2284, allocations: 121.5 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2284, allocations: 8 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.2285, allocations: 0 / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2285, allocations: 3.953 kB / 0.9033 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.2286, allocations: 23.92 kB / 0.9034 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2287, allocations: 0 / 0.9034 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.2288, allocations: 15.84 kB / 0.9034 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2288, allocations: 12.05 kB / 0.9034 GB, free: 61.12 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.0001025/0.2289, allocations: 115.8 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.229, allocations: 4 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.229, allocations: 12.38 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.229, allocations: 0 / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.229, allocations: 3.953 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.229, allocations: 0 / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.2296, allocations: 386.8 kB / 0.9039 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2297, allocations: 4 kB / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.2297, allocations: 11.98 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2298, allocations: 0 / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.2298, allocations: 3.953 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2298, allocations: 3.938 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2298, allocations: 0 / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.2302, allocations: 219.5 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.2303, allocations: 85.02 kB / 0.9042 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.2303, allocations: 7.984 kB / 0.9042 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.2304, allocations: 11.94 kB / 0.9042 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.2305, allocations: 8 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.2305, allocations: 0 / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.025e-05/0.2306, allocations: 95.86 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2306, allocations: 0 / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004906/0.2311, allocations: 43.98 kB / 0.9044 GB, free: 60.03 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.000489/0.2316, allocations: 160.3 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004036/0.232, allocations: 71.91 kB / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2321, allocations: 0 / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.2322, allocations: 43.91 kB / 0.9046 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.2325, allocations: 8.125 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.2331, allocations: 209.1 kB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.2333, allocations: 0.6887 MB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.5e-05/0.2333, allocations: 12.17 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.2334, allocations: 7.438 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of SimCode: time 1.302e-06/0.2334, allocations: 4 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.005603/0.239, allocations: 1.338 MB / 0.9068 GB, free: 57.45 MB / 0.6042 GB