Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.479/2.479, allocations: 251.3 MB / 266.2 MB, free: 11.51 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.001443/0.001443, allocations: 182.6 kB / 325.8 MB, free: 2.777 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.748/2.748, allocations: 205.4 MB / 0.5767 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.0009346/0.0009344, allocations: 90.8 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006264/0.0006266, allocations: 11.53 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2112, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002769/0.2141, allocations: 1.199 MB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002282/0.2164, allocations: 0.7259 MB / 0.9009 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.2165, allocations: 0 / 0.9009 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.2166, allocations: 7.922 kB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.948e-05/0.2167, allocations: 3.938 kB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.2176, allocations: 103.8 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.2178, allocations: 67.77 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.2179, allocations: 7.984 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.2181, allocations: 27.92 kB / 0.9011 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.2182, allocations: 43.81 kB / 0.9012 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.2182, allocations: 3.938 kB / 0.9012 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.2186, allocations: 83.92 kB / 0.9013 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.2186, allocations: 15.91 kB / 0.9013 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.2187, allocations: 37.7 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.219, allocations: 91.83 kB / 0.9014 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.219, allocations: 0 / 0.9014 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.528e-06/0.2191, allocations: 0 / 0.9014 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2191, allocations: 3.938 kB / 0.9014 GB, free: 62.98 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.0008209/0.2199, allocations: 418.6 kB / 0.9018 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.22, allocations: 8.031 kB / 0.9018 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.2201, allocations: 12.84 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.2202, allocations: 168.3 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/0.2203, allocations: 8.359 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.2203, allocations: 4.375 kB / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.2207, allocations: 77.95 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2207, allocations: 0 / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.2208, allocations: 4 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2208, allocations: 3.938 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.2211, allocations: 51.91 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.2223, allocations: 320.6 kB / 0.9024 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.2226, allocations: 54.56 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.2228, allocations: 32.97 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.2228, allocations: 4.062 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/0.2232, allocations: 87.3 kB / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 4.348e-06/0.2232, allocations: 0 / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0008835/0.2241, allocations: 149.5 kB / 0.9027 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.2242, allocations: 55.41 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2243, allocations: 113.8 kB / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.2244, allocations: 33.7 kB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.2245, allocations: 92.12 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.2245, allocations: 15.81 kB / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.2246, allocations: 0 / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.2247, allocations: 322.8 kB / 0.9033 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2249, allocations: 27.98 kB / 0.9034 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.2251, allocations: 59.36 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.2254, allocations: 35.98 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2254, allocations: 0 / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006285/0.2261, allocations: 125.5 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.2261, allocations: 4 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.2261, allocations: 4 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.2262, allocations: 0 / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.2264, allocations: 11.94 kB / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.2265, allocations: 7.984 kB / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.2267, allocations: 11.84 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.2267, allocations: 8.125 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.00014/0.2269, allocations: 121.8 kB / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.2269, allocations: 11.94 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.227, allocations: 12.36 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.227, allocations: 0 / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.227, allocations: 0 / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.227, allocations: 0 / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008918/0.228, allocations: 394.3 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.228, allocations: 0 / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.75e-05/0.2281, allocations: 8 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2281, allocations: 0 / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.2281, allocations: 3.984 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2282, allocations: 0 / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.2282, allocations: 3.938 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.2288, allocations: 219.4 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.2289, allocations: 88.95 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.2289, allocations: 3.984 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.2292, allocations: 4 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.2292, allocations: 11.92 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.2293, allocations: 8 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.187e-05/0.2294, allocations: 91.27 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.032e-06/0.2294, allocations: 0 / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006603/0.2301, allocations: 39.94 kB / 0.9046 GB, free: 59.36 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,occ.y,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.0005627/0.2307, allocations: 156.2 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005435/0.2312, allocations: 84.36 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2313, allocations: 0 / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.2315, allocations: 39.92 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.2321, allocations: 15.92 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.2327, allocations: 209.4 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.2329, allocations: 0.6848 MB / 0.9058 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.087e-05/0.233, allocations: 11.98 kB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.2331, allocations: 7.438 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/0.2331, allocations: 0 / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.007616/0.2408, allocations: 1.344 MB / 0.9071 GB, free: 56.77 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)