Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.535/1.535, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001214, allocations: 174.1 kB / 327.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007994/0.0007994, allocations: 94.56 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003942, allocations: 10.91 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2303, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0009894/0.2314, allocations: 411.8 kB / 0.9019 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001578/0.2316, allocations: 8 kB / 0.9019 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.2316, allocations: 0 / 0.9019 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2317, allocations: 7.922 kB / 0.9019 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.2318, allocations: 4 kB / 0.9019 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.225e-05/0.2319, allocations: 0 / 0.9019 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.814e-05/0.232, allocations: 27.92 kB / 0.9019 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.2321, allocations: 37.25 kB / 0.9019 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.297e-05/0.2322, allocations: 3.938 kB / 0.9019 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.187e-05/0.2322, allocations: 7.938 kB / 0.902 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.2322, allocations: 4 kB / 0.902 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.2323, allocations: 0 / 0.902 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.2323, allocations: 11.94 kB / 0.902 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.2323, allocations: 37.58 kB / 0.902 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.021e-05/0.2324, allocations: 39.91 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2325, allocations: 0 / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2325, allocations: 0 / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2325, allocations: 0 / 0.902 GB, free: 62.91 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000291/0.2328, allocations: 339.6 kB / 0.9024 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.2328, allocations: 12.03 kB / 0.9024 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.2329, allocations: 8.938 kB / 0.9024 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.233, allocations: 176.3 kB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.233, allocations: 4.375 kB / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.2331, allocations: 8.312 kB / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.2332, allocations: 82.16 kB / 0.9026 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2332, allocations: 192 / 0.9026 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2333, allocations: 3.938 kB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.2333, allocations: 4 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.946e-05/0.2334, allocations: 51.95 kB / 0.9027 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.2338, allocations: 487 kB / 0.9032 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.801e-05/0.2339, allocations: 173.1 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.2339, allocations: 80.14 kB / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.2339, allocations: 75.28 kB / 0.9035 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.2339, allocations: 113.8 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.2339, allocations: 0 / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.913e-05/0.234, allocations: 33.61 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.2341, allocations: 126.7 kB / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.2342, allocations: 181.5 kB / 0.9039 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.2342, allocations: 25.7 kB / 0.9039 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.2343, allocations: 92.14 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.2343, allocations: 0 / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.2343, allocations: 7.938 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.264e-05/0.2344, allocations: 318.8 kB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.2344, allocations: 4 kB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.2344, allocations: 12.02 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.2344, allocations: 20.8 kB / 0.9044 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2344, allocations: 0 / 0.9044 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000115/0.2346, allocations: 53.58 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2346, allocations: 10.75 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2346, allocations: 8.109 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2346, allocations: 3.938 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.2347, allocations: 4 kB / 0.9045 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2347, allocations: 3.938 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.2347, allocations: 7.906 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2347, allocations: 0 / 0.9045 GB, free: 60.21 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.2348, allocations: 193.1 kB / 0.9046 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.2349, allocations: 108.9 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.2349, allocations: 120.8 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/0.235, allocations: 180.2 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.752e-05/0.235, allocations: 184.2 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/0.235, allocations: 176.3 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.2352, allocations: 425.1 kB / 0.9058 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.2352, allocations: 105 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.2352, allocations: 108.9 kB / 0.906 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-05/0.2353, allocations: 176.3 kB / 0.9062 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.2353, allocations: 176.3 kB / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.547e-05/0.2353, allocations: 180.2 kB / 0.9065 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.903e-05/0.2354, allocations: 192.2 kB / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.458e-05/0.2354, allocations: 307.7 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.2355, allocations: 194 kB / 0.9072 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.2355, allocations: 184.5 kB / 0.9073 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/0.2356, allocations: 105 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.2357, allocations: 192.2 kB / 0.9076 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.2357, allocations: 101 kB / 0.9077 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.418e-05/0.2358, allocations: 135.2 kB / 0.9078 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2358, allocations: 0 / 0.9078 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002196/0.236, allocations: 4 kB / 0.9078 GB, free: 56.51 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000136/0.2361, allocations: 182.5 kB / 0.908 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.871e-05/0.2362, allocations: 15.94 kB / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2362, allocations: 0 / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.2362, allocations: 0 / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.2366, allocations: 0.5246 MB / 0.9086 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.2368, allocations: 255.5 kB / 0.9088 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.237, allocations: 0.6965 MB / 0.9095 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.237, allocations: 11.44 kB / 0.9095 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.237, allocations: 0 / 0.9095 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of Templates: time 0.001968/0.239, allocations: 0.7563 MB / 0.9102 GB, free: 54 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)