Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.396/2.396, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.001648/0.001648, allocations: 179.6 kB / 325.6 MB, free: 2.809 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.567/2.567, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001141/0.001141, allocations: 94.98 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004811, allocations: 12.78 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2242, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002035/0.2263, allocations: 1.203 MB / 0.9 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.2279, allocations: 0.7228 MB / 0.9008 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.228, allocations: 4 kB / 0.9008 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.2281, allocations: 7.922 kB / 0.9008 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/0.2281, allocations: 7.969 kB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.2287, allocations: 99.64 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.2288, allocations: 43.94 kB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.2289, allocations: 4 kB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.229, allocations: 35.89 kB / 0.9009 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.2291, allocations: 35.84 kB / 0.901 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.2292, allocations: 4 kB / 0.901 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.2293, allocations: 67.92 kB / 0.901 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.2294, allocations: 15.92 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.2294, allocations: 33.7 kB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.2296, allocations: 99.75 kB / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2297, allocations: 0 / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2297, allocations: 0 / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2297, allocations: 4 kB / 0.9012 GB, free: 63.06 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.0006198/0.2303, allocations: 413.1 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2304, allocations: 8.031 kB / 0.9016 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.2304, allocations: 15.84 kB / 0.9016 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.152e-05/0.2305, allocations: 167 kB / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.2306, allocations: 4 kB / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.2306, allocations: 0 / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.2308, allocations: 81.64 kB / 0.9019 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2309, allocations: 4 kB / 0.9019 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.2309, allocations: 3.984 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2309, allocations: 0 / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.2311, allocations: 43.94 kB / 0.9019 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/0.2319, allocations: 328.6 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.2321, allocations: 46.56 kB / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.2321, allocations: 0 / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.2323, allocations: 87.44 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.2324, allocations: 0 / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005708/0.2329, allocations: 153.5 kB / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.233, allocations: 55.41 kB / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.978e-05/0.2331, allocations: 133.7 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.2331, allocations: 29.7 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.2332, allocations: 84.33 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.2332, allocations: 19.8 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.2332, allocations: 0 / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.2333, allocations: 318.8 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.2335, allocations: 31.97 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.2336, allocations: 50.56 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.2338, allocations: 36.28 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2338, allocations: 0 / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003552/0.2342, allocations: 125.5 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2342, allocations: 7.938 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2342, allocations: 0 / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2342, allocations: 7.953 kB / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.2344, allocations: 11.98 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2344, allocations: 0 / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.2345, allocations: 15.84 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2345, allocations: 12.06 kB / 0.9034 GB, free: 60.58 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 8.574e-05/0.2346, allocations: 113.8 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.2347, allocations: 7.984 kB / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.2347, allocations: 4.375 kB / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2347, allocations: 0 / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2347, allocations: 7.891 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2347, allocations: 0 / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.2353, allocations: 386.5 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2353, allocations: 0 / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.2354, allocations: 4 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2354, allocations: 3.984 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2355, allocations: 7.891 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2355, allocations: 4 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2355, allocations: 0 / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.2359, allocations: 219.4 kB / 0.9041 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.2359, allocations: 85 kB / 0.9042 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.2359, allocations: 0 / 0.9042 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.2361, allocations: 7.953 kB / 0.9042 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.2361, allocations: 11.98 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2362, allocations: 8 kB / 0.9042 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.2362, allocations: 91.27 kB / 0.9043 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2362, allocations: 3.938 kB / 0.9043 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004077/0.2367, allocations: 39.94 kB / 0.9043 GB, free: 59.5 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.0004092/0.2371, allocations: 161.9 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.2374, allocations: 79.89 kB / 0.9046 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2375, allocations: 0 / 0.9046 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.2376, allocations: 35.92 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.2379, allocations: 12.11 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.2383, allocations: 205.7 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.2385, allocations: 0.6887 MB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.444e-05/0.2386, allocations: 8.188 kB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.2386, allocations: 15.42 kB / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.2386, allocations: 0 / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.005231/0.2439, allocations: 1.336 MB / 0.9068 GB, free: 56.93 MB / 0.6042 GB