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.001212/0.001212, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 196.5 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.844/1.844, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001434/0.001434, allocations: 69.94 kB / 0.6723 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3311, allocations: 114.5 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002305/0.3335, allocations: 0.6592 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001491/0.3337, allocations: 8 kB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.3337, allocations: 0 / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.3339, allocations: 3.938 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.755e-05/0.3339, allocations: 0 / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.427e-05/0.334, allocations: 4 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.502e-05/0.3341, allocations: 35.84 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.3343, allocations: 31.98 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.3343, allocations: 11.92 kB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.3343, allocations: 19.92 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.3344, allocations: 4 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.3344, allocations: 4 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.3344, allocations: 8 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.3345, allocations: 19.88 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.3346, allocations: 51.8 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3346, allocations: 0 / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3346, allocations: 0 / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.3346, allocations: 0 / 0.785 GB, free: 11.84 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.0004063/0.335, allocations: 363.2 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3351, allocations: 8.031 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.3351, allocations: 4.938 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.3353, allocations: 184.2 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3353, allocations: 4.375 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.3354, allocations: 4.375 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3355, allocations: 74.23 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3355, allocations: 192 / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3356, allocations: 3.938 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3356, allocations: 0 / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.3357, allocations: 59.89 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.3362, allocations: 483.2 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.3363, allocations: 173.1 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.3363, allocations: 80.25 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.3364, allocations: 79.22 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.3364, allocations: 121.8 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3364, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.97e-05/0.3365, allocations: 33.55 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.3366, allocations: 134.7 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.3368, allocations: 172.4 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.3368, allocations: 25.7 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.3369, allocations: 96.12 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.3369, allocations: 4 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.3369, allocations: 13.72 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.337, allocations: 318.8 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.3371, allocations: 7.984 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.3371, allocations: 4 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.239e-05/0.3371, allocations: 16.84 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3371, allocations: 0 / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001169/0.3373, allocations: 61.59 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3373, allocations: 4 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3373, allocations: 3.984 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3373, allocations: 0 / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.3374, allocations: 4 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3374, allocations: 3.938 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.3374, allocations: 11.84 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.3375, allocations: 0 / 0.7874 GB, free: 9.102 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.3376, allocations: 201.8 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.3377, allocations: 105 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.3377, allocations: 112.8 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.447e-05/0.3378, allocations: 180.2 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.816e-05/0.3379, allocations: 188.2 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.225e-05/0.3379, allocations: 180.2 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.3382, allocations: 417.2 kB / 0.7887 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.553e-05/0.3383, allocations: 112.9 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.3383, allocations: 105 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.907e-05/0.3384, allocations: 181.3 kB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/0.3384, allocations: 176.3 kB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.616e-05/0.3385, allocations: 180.3 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-05/0.3386, allocations: 192.2 kB / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.3388, allocations: 315.6 kB / 0.7899 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3389, allocations: 186 kB / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-05/0.3389, allocations: 180.3 kB / 0.7903 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.3391, allocations: 117.2 kB / 0.7904 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.3391, allocations: 180.2 kB / 0.7906 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.3392, allocations: 109 kB / 0.7907 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001043/0.3393, allocations: 135.2 kB / 0.7908 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3393, allocations: 3.938 kB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002238/0.3395, allocations: 4 kB / 0.7908 GB, free: 5.391 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 (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.0001696/0.3397, allocations: 178.5 kB / 0.791 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.068e-05/0.3398, allocations: 7.984 kB / 0.791 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3398, allocations: 0 / 0.791 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.3398, allocations: 0 / 0.791 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.3403, allocations: 459.7 kB / 0.7914 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.3406, allocations: 228.2 kB / 0.7917 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3409, allocations: 0.6885 MB / 0.7923 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.341, allocations: 7.984 kB / 0.7923 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.341, allocations: 11.44 kB / 0.7923 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.341, allocations: 0 / 0.7923 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of Templates: time 0.002587/0.3436, allocations: 473.1 kB / 0.7928 GB, free: 3.305 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (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)