Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008535/0.0008531, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 222.1 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005359/0.000536, allocations: 16.75 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2392, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0008203/0.24, allocations: 386.7 kB / 0.7877 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001117/0.2402, allocations: 7.938 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.2402, allocations: 4 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.638e-05/0.2403, allocations: 7.938 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.2403, allocations: 4 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.825e-05/0.2404, allocations: 3.984 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.371e-05/0.2405, allocations: 27.92 kB / 0.7877 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2406, allocations: 27.98 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.979e-05/0.2406, allocations: 4 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.742e-05/0.2407, allocations: 11.88 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2407, allocations: 3.984 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.2407, allocations: 0 / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.2407, allocations: 11.98 kB / 0.7878 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.2407, allocations: 25.7 kB / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.262e-05/0.2408, allocations: 35.94 kB / 0.7878 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2408, allocations: 3.938 kB / 0.7878 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2408, allocations: 0 / 0.7878 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2408, allocations: 0 / 0.7878 GB, free: 11.35 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002958/0.2411, allocations: 343.5 kB / 0.7882 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2412, allocations: 8.031 kB / 0.7882 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.2412, allocations: 7.906 kB / 0.7882 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.2414, allocations: 175 kB / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2414, allocations: 11.92 kB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.2414, allocations: 4 kB / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.2415, allocations: 77.66 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2416, allocations: 0 / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.2416, allocations: 8 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2416, allocations: 4 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.2417, allocations: 47.91 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.2422, allocations: 487.1 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.606e-05/0.2423, allocations: 173.1 kB / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.2423, allocations: 80.14 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.2423, allocations: 83.28 kB / 0.7893 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.2424, allocations: 109.8 kB / 0.7894 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.2424, allocations: 0 / 0.7894 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.83e-05/0.2424, allocations: 45.53 kB / 0.7894 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.2425, allocations: 126.7 kB / 0.7896 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.2427, allocations: 174 kB / 0.7897 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.2427, allocations: 29.7 kB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.2427, allocations: 92.05 kB / 0.7898 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.2427, allocations: 4 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.2428, allocations: 0 / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2429, allocations: 318.9 kB / 0.7901 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.2429, allocations: 7.938 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.2429, allocations: 7.984 kB / 0.7902 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.563e-05/0.2429, allocations: 12 kB / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.243, allocations: 4.062 kB / 0.7902 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001153/0.2431, allocations: 49.67 kB / 0.7902 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2431, allocations: 10.75 kB / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.2431, allocations: 0 / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2431, allocations: 7.953 kB / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.435e-05/0.2432, allocations: 0 / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.2432, allocations: 0 / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.2432, allocations: 11.84 kB / 0.7903 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2432, allocations: 4 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.889e-05/0.2433, allocations: 197.8 kB / 0.7904 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.2434, allocations: 108.9 kB / 0.7906 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.2434, allocations: 116.8 kB / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.288e-05/0.2435, allocations: 180.2 kB / 0.7908 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.005e-05/0.2436, allocations: 180.3 kB / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.453e-05/0.2436, allocations: 184.2 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.2438, allocations: 421.2 kB / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/0.2439, allocations: 110 kB / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.2439, allocations: 101 kB / 0.7918 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.601e-05/0.244, allocations: 180.3 kB / 0.792 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.244, allocations: 180.2 kB / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.613e-05/0.2441, allocations: 184.2 kB / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.459e-05/0.2441, allocations: 184.2 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.2443, allocations: 303.8 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.2443, allocations: 198.2 kB / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.2444, allocations: 180.3 kB / 0.7931 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.2445, allocations: 117 kB / 0.7932 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.2446, allocations: 176.3 kB / 0.7934 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.2446, allocations: 104.9 kB / 0.7935 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.319e-05/0.2447, allocations: 135.2 kB / 0.7936 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2447, allocations: 3.938 kB / 0.7936 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002042/0.2449, allocations: 8 kB / 0.7937 GB, free: 4.949 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001407/0.2451, allocations: 178.5 kB / 0.7938 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.247e-05/0.2451, allocations: 8 kB / 0.7938 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2451, allocations: 3.938 kB / 0.7938 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.2451, allocations: 0 / 0.7938 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.2456, allocations: 0.5224 MB / 0.7943 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.2458, allocations: 222 kB / 0.7946 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.246, allocations: 0.6926 MB / 0.7952 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.382e-05/0.2461, allocations: 4 kB / 0.7952 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.2461, allocations: 11.44 kB / 0.7952 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2461, allocations: 0 / 0.7952 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of Templates: time 0.002102/0.2482, allocations: 435 kB / 0.7957 GB, free: 2.824 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) Environment - environmentSimulation: