Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.31/2.31, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001319/0.001319, allocations: 182.8 kB / 325.8 MB, free: 2.801 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.398/2.398, 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.0009316/0.0009313, allocations: 90.36 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006782/0.0006785, allocations: 9.625 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2065, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002423/0.209, allocations: 1.659 MB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.2103, allocations: 0.6674 MB / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.2104, allocations: 0 / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.2105, allocations: 15.8 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.2107, allocations: 43.69 kB / 0.9014 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.2112, allocations: 115.8 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.2115, allocations: 243.2 kB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.2117, allocations: 72.38 kB / 0.9018 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2118, allocations: 83.67 kB / 0.9019 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.212, allocations: 103.5 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/0.2121, allocations: 12 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-05/0.2121, allocations: 8 kB / 0.902 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.2122, allocations: 35.84 kB / 0.902 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.2122, allocations: 53.64 kB / 0.9021 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.2125, allocations: 187.8 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2125, allocations: 4 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.076e-06/0.2125, allocations: 0 / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2125, allocations: 3.938 kB / 0.9023 GB, free: 62.11 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001767/0.2143, allocations: 0.6307 MB / 0.9029 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2144, allocations: 8.031 kB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.177e-05/0.2144, allocations: 28.73 kB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.215, allocations: 268.9 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.215, allocations: 12.38 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.2151, allocations: 16.36 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.2161, allocations: 264.2 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2162, allocations: 0 / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.2162, allocations: 4 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2162, allocations: 4 kB / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.2178, allocations: 271.7 kB / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009976/0.2188, allocations: 0.5196 MB / 0.9042 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.2207, allocations: 310.5 kB / 0.9045 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008217/0.2215, allocations: 148.7 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.2216, allocations: 7.875 kB / 0.9047 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009969/0.2226, allocations: 211.2 kB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.925e-06/0.2226, allocations: 0 / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.002571/0.2252, allocations: 461 kB / 0.9053 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.2252, allocations: 59.34 kB / 0.9054 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.2255, allocations: 211.2 kB / 0.9056 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.2256, allocations: 33.64 kB / 0.9056 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.017e-05/0.2256, allocations: 136.3 kB / 0.9057 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.2257, allocations: 47.34 kB / 0.9058 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.2257, allocations: 4 kB / 0.9058 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.2258, allocations: 330.8 kB / 0.9061 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008176/0.2267, allocations: 135.9 kB / 0.9062 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008047/0.2275, allocations: 139.9 kB / 0.9063 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008259/0.2283, allocations: 189.1 kB / 0.9065 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2283, allocations: 0 / 0.9065 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001809/0.2302, allocations: 408.5 kB / 0.9069 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.17e-05/0.2302, allocations: 149.2 kB / 0.9071 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2303, allocations: 0 / 0.9071 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.2303, allocations: 3.984 kB / 0.9071 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.2308, allocations: 63.89 kB / 0.9071 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2308, allocations: 0 / 0.9071 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.2314, allocations: 59.88 kB / 0.9072 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.2314, allocations: 8 kB / 0.9072 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.2315, allocations: 4 kB / 0.9072 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001603/0.2331, allocations: 371.3 kB / 0.9075 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2331, allocations: 7.922 kB / 0.9076 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.2331, allocations: 0 / 0.9076 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.2336, allocations: 59.89 kB / 0.9076 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2336, allocations: 0 / 0.9076 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.2341, allocations: 59.8 kB / 0.9077 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.2341, allocations: 4 kB / 0.9077 GB, free: 56.26 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001847/0.2343, allocations: 213.1 kB / 0.9079 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.2344, allocations: 19.75 kB / 0.9079 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.2345, allocations: 21.53 kB / 0.9079 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2345, allocations: 0 / 0.9079 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2345, allocations: 7.984 kB / 0.9079 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2345, allocations: 4 kB / 0.9079 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.2348, allocations: 265.5 kB / 0.9082 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2348, allocations: 0 / 0.9082 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.2353, allocations: 59.88 kB / 0.9082 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.2353, allocations: 3.938 kB / 0.9082 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.2353, allocations: 12 kB / 0.9083 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.2354, allocations: 7.938 kB / 0.9083 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2354, allocations: 0 / 0.9083 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.2371, allocations: 354.7 kB / 0.9086 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.2371, allocations: 100.8 kB / 0.9087 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.2372, allocations: 4 kB / 0.9087 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.2377, allocations: 51.94 kB / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.2379, allocations: 27.95 kB / 0.9088 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.2379, allocations: 15.92 kB / 0.9088 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001626/0.2381, allocations: 151.2 kB / 0.9089 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-07/0.2381, allocations: 4 kB / 0.9089 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000447/0.2386, allocations: 75.78 kB / 0.909 GB, free: 54.8 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 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001258/0.2387, allocations: 107.2 kB / 0.9091 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002598/0.2413, allocations: 0.6535 MB / 0.9098 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2413, allocations: 0 / 0.9098 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008543/0.2422, allocations: 159.8 kB / 0.9099 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.2427, allocations: 34.69 kB / 0.9099 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2439, allocations: 416.5 kB / 0.9103 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.2441, allocations: 0.7287 MB / 0.911 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.2443, allocations: 25.48 kB / 0.9111 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.2445, allocations: 23.42 kB / 0.9111 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/0.2445, allocations: 4 kB / 0.9111 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.008055/0.2526, allocations: 2.767 MB / 0.9138 GB, free: 49.84 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)