Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 109 kB / 16.37 MB, free: 6.477 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.001085/0.001085, allocations: 189.8 kB / 17.31 MB, free: 5.82 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.332/1.332, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.776/1.776, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001468/0.001468, allocations: 83.64 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2253, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.001913/0.2273, allocations: 0.7451 MB / 0.7855 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000218/0.2275, allocations: 51.83 kB / 0.7856 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.2276, allocations: 4 kB / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.2277, allocations: 19.8 kB / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.2278, allocations: 11.92 kB / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.2279, allocations: 27.97 kB / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.2281, allocations: 119.7 kB / 0.7858 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.2283, allocations: 152.5 kB / 0.7859 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.2284, allocations: 71.72 kB / 0.786 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.2285, allocations: 75.69 kB / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.2285, allocations: 12 kB / 0.7861 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.2285, allocations: 12 kB / 0.7861 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.2286, allocations: 51.8 kB / 0.7861 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.2287, allocations: 83.42 kB / 0.7862 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.2289, allocations: 247 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2289, allocations: 0 / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.229, allocations: 0 / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.229, allocations: 0 / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005351/0.2295, allocations: 499 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2295, allocations: 8.031 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.2296, allocations: 24.66 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.2299, allocations: 251.9 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2299, allocations: 12.75 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.2299, allocations: 24.31 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.2303, allocations: 348.9 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2304, allocations: 3.938 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.2304, allocations: 4 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.2304, allocations: 15.98 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3244/0.5548, allocations: 263.1 kB / 0.7878 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.556, allocations: 1.074 MB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.458e-05/0.5561, allocations: 174.9 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.5561, allocations: 83.05 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.5561, allocations: 75.28 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.5561, allocations: 110.3 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.455e-06/0.5562, allocations: 0 / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001002/0.5563, allocations: 54.77 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.5563, allocations: 131.3 kB / 0.7895 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.5567, allocations: 0.4945 MB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.5567, allocations: 25.7 kB / 0.79 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.5568, allocations: 163.9 kB / 0.7901 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.5569, allocations: 3.469 kB / 0.7901 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.5569, allocations: 35.38 kB / 0.7902 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.557, allocations: 336.7 kB / 0.7905 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.557, allocations: 51.44 kB / 0.7905 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.5571, allocations: 93.39 kB / 0.7906 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.5572, allocations: 106.5 kB / 0.7907 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5572, allocations: 0.7812 kB / 0.7907 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002645/0.5575, allocations: 182 kB / 0.7909 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5575, allocations: 6.562 kB / 0.7909 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.5575, allocations: 3.219 kB / 0.7909 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5576, allocations: 3.969 kB / 0.7909 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.5577, allocations: 27.98 kB / 0.7909 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5577, allocations: 5.062 kB / 0.791 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.644e-05/0.5578, allocations: 39.38 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.5578, allocations: 10.94 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001106/0.5579, allocations: 251.8 kB / 0.7912 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.558, allocations: 129.8 kB / 0.7914 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.558, allocations: 135 kB / 0.7915 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.5581, allocations: 182.4 kB / 0.7917 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.69e-05/0.5581, allocations: 190.6 kB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/0.5581, allocations: 182.6 kB / 0.792 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.5583, allocations: 490.9 kB / 0.7925 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.5583, allocations: 103.6 kB / 0.7926 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.5584, allocations: 106.7 kB / 0.7927 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.793e-05/0.5584, allocations: 181.6 kB / 0.7929 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.5584, allocations: 182.3 kB / 0.793 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.507e-05/0.5585, allocations: 184.7 kB / 0.7932 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.663e-05/0.5585, allocations: 182.6 kB / 0.7934 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.553e-05/0.5586, allocations: 328.9 kB / 0.7937 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.5587, allocations: 218.4 kB / 0.7939 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.5587, allocations: 178.8 kB / 0.7941 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.5588, allocations: 110.8 kB / 0.7942 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.5589, allocations: 184.1 kB / 0.7944 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.5589, allocations: 107.4 kB / 0.7945 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000284/0.5592, allocations: 360.6 kB / 0.7948 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5592, allocations: 0 / 0.7948 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000257/0.5594, allocations: 29.62 kB / 0.7948 GB, free: 43.11 MB / 0.6544 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.0001337/0.5596, allocations: 177.3 kB / 0.795 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.5597, allocations: 66.47 kB / 0.7951 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5597, allocations: 0 / 0.7951 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.5597, allocations: 1.938 kB / 0.7951 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.5602, allocations: 481.5 kB / 0.7955 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.5607, allocations: 0.4883 MB / 0.796 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.5609, allocations: 0.7734 MB / 0.7968 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.561, allocations: 17.91 kB / 0.7968 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.561, allocations: 0 / 0.7968 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.003771/0.5647, allocations: 2.639 MB / 0.7994 GB, free: 41.41 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)