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.0008459/0.0008459, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0008761/0.0008761, allocations: 177.3 kB / 15.95 MB, free: 216 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.335/1.335, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.57/1.57, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005326/0.000533, allocations: 19.59 kB / 0.6736 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0008232/0.2129, allocations: 381.1 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001151/0.213, allocations: 11.92 kB / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.2131, allocations: 4 kB / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.462e-05/0.2132, allocations: 0 / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.107e-05/0.2132, allocations: 0 / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.073e-05/0.2133, allocations: 4 kB / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.248e-05/0.2133, allocations: 19.98 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.2135, allocations: 31.91 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.2135, allocations: 4 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.2135, allocations: 15.92 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.2136, allocations: 0 / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.2136, allocations: 4 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.2136, allocations: 3.938 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.2136, allocations: 33.7 kB / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.856e-05/0.2137, allocations: 35.88 kB / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.2137, allocations: 0 / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2137, allocations: 0 / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2137, allocations: 0 / 0.7877 GB, free: 11.4 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.0003189/0.2141, allocations: 337.2 kB / 0.788 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.2141, allocations: 16.03 kB / 0.788 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.2142, allocations: 3.906 kB / 0.788 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.2144, allocations: 190.9 kB / 0.7882 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2144, allocations: 4 kB / 0.7882 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.2144, allocations: 4 kB / 0.7882 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.2146, allocations: 73.67 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.2146, allocations: 0 / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2146, allocations: 0 / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2146, allocations: 0 / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.2147, allocations: 47.97 kB / 0.7883 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.2152, allocations: 495 kB / 0.7888 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.763e-05/0.2153, allocations: 173.1 kB / 0.7889 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2153, allocations: 79.27 kB / 0.789 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.867e-05/0.2154, allocations: 109.8 kB / 0.7891 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2154, allocations: 0 / 0.7891 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.003e-05/0.2155, allocations: 41.55 kB / 0.7892 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.2155, allocations: 126.7 kB / 0.7893 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.2157, allocations: 170 kB / 0.7894 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.2157, allocations: 25.7 kB / 0.7895 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.2158, allocations: 104 kB / 0.7896 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.2158, allocations: 0 / 0.7896 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.2158, allocations: 0 / 0.7896 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.216, allocations: 326.8 kB / 0.7899 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.216, allocations: 7.984 kB / 0.7899 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.284e-05/0.216, allocations: 8 kB / 0.7899 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.216, allocations: 7.984 kB / 0.7899 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.216, allocations: 0 / 0.7899 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001111/0.2161, allocations: 45.69 kB / 0.7899 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.2162, allocations: 8 kB / 0.79 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2162, allocations: 0 / 0.79 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2162, allocations: 8.047 kB / 0.79 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.2163, allocations: 4 kB / 0.79 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2163, allocations: 0 / 0.79 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.2163, allocations: 15.83 kB / 0.79 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2163, allocations: 0 / 0.79 GB, free: 8.801 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 9.794e-05/0.2164, allocations: 193.1 kB / 0.7902 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.2165, allocations: 112.8 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.2166, allocations: 116.9 kB / 0.7904 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/0.2166, allocations: 188.2 kB / 0.7906 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.933e-05/0.2167, allocations: 180.2 kB / 0.7907 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.752e-05/0.2168, allocations: 180.2 kB / 0.7909 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.217, allocations: 425.2 kB / 0.7913 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-05/0.217, allocations: 104.9 kB / 0.7914 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.2171, allocations: 114 kB / 0.7915 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-05/0.2171, allocations: 176.3 kB / 0.7917 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/0.2172, allocations: 180.2 kB / 0.7919 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.806e-05/0.2172, allocations: 180.2 kB / 0.792 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-05/0.2173, allocations: 184.3 kB / 0.7922 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.2174, allocations: 307.7 kB / 0.7925 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/0.2175, allocations: 197.9 kB / 0.7927 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-05/0.2176, allocations: 180.5 kB / 0.7929 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.2177, allocations: 101 kB / 0.793 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.2178, allocations: 188.2 kB / 0.7931 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.2178, allocations: 113 kB / 0.7932 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001058/0.2179, allocations: 138.2 kB / 0.7934 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2179, allocations: 0 / 0.7934 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002268/0.2182, allocations: 4 kB / 0.7934 GB, free: 5.09 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.0001445/0.2183, allocations: 170.5 kB / 0.7935 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.359e-05/0.2184, allocations: 15.94 kB / 0.7936 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2184, allocations: 4.062 kB / 0.7936 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.2184, allocations: 0 / 0.7936 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.2188, allocations: 0.5302 MB / 0.7941 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.2191, allocations: 210 kB / 0.7943 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.2193, allocations: 0.6926 MB / 0.795 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.488e-05/0.2194, allocations: 8 kB / 0.795 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.2194, allocations: 7.438 kB / 0.795 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of SimCode: time 1.754e-06/0.2194, allocations: 0 / 0.795 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of Templates: time 0.002128/0.2215, allocations: 434.4 kB / 0.7954 GB, free: 2.969 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: