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.001231/0.001231, allocations: 105.2 kB / 16.29 MB, free: 6.016 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.001215/0.001215, allocations: 187.4 kB / 17.22 MB, free: 5.625 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.622/1.622, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.973/1.973, allocations: 292.3 MB / 0.5495 GB, free: 17.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.002331/0.002331, allocations: 71.91 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3139, allocations: 114.6 MB / 0.7841 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002664/0.3166, allocations: 0.7403 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.3169, allocations: 51.89 kB / 0.7849 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.08e-05/0.317, allocations: 7.875 kB / 0.7849 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.3172, allocations: 19.86 kB / 0.7849 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-05/0.3173, allocations: 11.92 kB / 0.7849 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.3175, allocations: 27.72 kB / 0.7849 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.3178, allocations: 119.7 kB / 0.785 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.3181, allocations: 156.5 kB / 0.7852 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3182, allocations: 63.8 kB / 0.7853 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.3183, allocations: 71.64 kB / 0.7853 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.3184, allocations: 12 kB / 0.7853 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.202e-05/0.3184, allocations: 20 kB / 0.7854 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-05/0.3185, allocations: 55.83 kB / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.3187, allocations: 91.42 kB / 0.7855 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.319, allocations: 223.2 kB / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.319, allocations: 0 / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.12e-06/0.319, allocations: 4 kB / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.319, allocations: 3.938 kB / 0.7857 GB, free: 2.195 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.0006696/0.3197, allocations: 499.3 kB / 0.7862 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3197, allocations: 15.97 kB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.3198, allocations: 24.66 kB / 0.7862 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.3201, allocations: 255.8 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.3202, allocations: 16.75 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.3202, allocations: 20.36 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.3207, allocations: 336.9 kB / 0.7868 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3207, allocations: 3.938 kB / 0.7868 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.3208, allocations: 7.984 kB / 0.7868 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.3208, allocations: 20 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.3212, allocations: 259.8 kB / 0.7871 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.602/0.9232, allocations: 1.08 MB / 0.7882 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.123e-05/0.9233, allocations: 172 kB / 0.7883 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.9234, allocations: 83.33 kB / 0.7884 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.9234, allocations: 76.5 kB / 0.7885 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.9234, allocations: 111.2 kB / 0.7886 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.134e-06/0.9234, allocations: 2.719 kB / 0.7886 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001241/0.9236, allocations: 50.55 kB / 0.7886 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.9236, allocations: 129.4 kB / 0.7888 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.9241, allocations: 0.4909 MB / 0.7892 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.9241, allocations: 28.77 kB / 0.7893 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.9243, allocations: 169 kB / 0.7894 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/0.9243, allocations: 3.188 kB / 0.7894 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.9244, allocations: 30.09 kB / 0.7895 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.9245, allocations: 338.5 kB / 0.7898 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.9245, allocations: 46.77 kB / 0.7898 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.61e-05/0.9246, allocations: 93.53 kB / 0.7899 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.9247, allocations: 108 kB / 0.79 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9247, allocations: 0 / 0.79 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002934/0.925, allocations: 185.6 kB / 0.7902 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.9251, allocations: 12.31 kB / 0.7902 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.9251, allocations: 2.625 kB / 0.7902 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.9251, allocations: 2.625 kB / 0.7902 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.9252, allocations: 17.84 kB / 0.7902 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.9252, allocations: 5.531 kB / 0.7902 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.9254, allocations: 43.31 kB / 0.7903 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.9254, allocations: 11.62 kB / 0.7903 GB, free: 46.48 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.000152/0.9255, allocations: 245.2 kB / 0.7905 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.9256, allocations: 126.5 kB / 0.7906 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.054e-05/0.9257, allocations: 139.8 kB / 0.7908 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.286e-05/0.9257, allocations: 178.4 kB / 0.7909 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.565e-05/0.9258, allocations: 180.1 kB / 0.7911 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.29e-05/0.9258, allocations: 185.2 kB / 0.7913 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.9261, allocations: 497 kB / 0.7918 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.943e-05/0.9261, allocations: 108.2 kB / 0.7919 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.9262, allocations: 111.2 kB / 0.792 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.563e-05/0.9262, allocations: 182.7 kB / 0.7922 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.9263, allocations: 179.3 kB / 0.7923 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.603e-05/0.9263, allocations: 181.3 kB / 0.7925 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.342e-05/0.9263, allocations: 178.9 kB / 0.7927 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.9264, allocations: 336.8 kB / 0.793 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.9265, allocations: 216.4 kB / 0.7932 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.9266, allocations: 182.9 kB / 0.7934 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.9267, allocations: 109.5 kB / 0.7935 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.9268, allocations: 180.3 kB / 0.7936 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.9268, allocations: 103 kB / 0.7937 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003041/0.9271, allocations: 366.4 kB / 0.7941 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9271, allocations: 2.625 kB / 0.7941 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002707/0.9274, allocations: 24.25 kB / 0.7941 GB, free: 42.97 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.000154/0.9275, allocations: 181 kB / 0.7943 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.9277, allocations: 65.44 kB / 0.7944 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9277, allocations: 0.5312 kB / 0.7944 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.9277, allocations: 1 kB / 0.7944 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.9282, allocations: 483.5 kB / 0.7948 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.9288, allocations: 469.2 kB / 0.7953 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.929, allocations: 0.7729 MB / 0.796 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.719e-05/0.9291, allocations: 49.59 kB / 0.7961 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.9291, allocations: 17.25 kB / 0.7961 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.9292, allocations: 0 / 0.7961 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.004586/0.9337, allocations: 1.742 MB / 0.7978 GB, free: 41.36 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)