Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 103.7 kB / 16.29 MB, free: 6.375 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.001283/0.001283, allocations: 182.6 kB / 17.22 MB, free: 5.934 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.552/1.552, 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 2.037/2.037, allocations: 292.3 MB / 0.5495 GB, free: 17.77 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.001469/0.001469, allocations: 67.91 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3055, allocations: 114.6 MB / 0.7841 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002013/0.3076, allocations: 0.7671 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.3085, allocations: 0.8282 MB / 0.7857 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.3085, allocations: 0 / 0.7857 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.3087, allocations: 63.8 kB / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.328e-05/0.3088, allocations: 35.83 kB / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.988e-05/0.3089, allocations: 15.97 kB / 0.7858 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.309, allocations: 91.75 kB / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3092, allocations: 19.98 kB / 0.7859 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.719e-05/0.3093, allocations: 47.83 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3094, allocations: 83.78 kB / 0.786 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.3094, allocations: 8 kB / 0.786 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.3095, allocations: 8 kB / 0.786 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.3095, allocations: 39.83 kB / 0.786 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.3096, allocations: 43.73 kB / 0.7861 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3098, allocations: 115.6 kB / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3098, allocations: 0 / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.747e-06/0.3098, allocations: 4 kB / 0.7862 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3098, allocations: 3.938 kB / 0.7862 GB, free: 1.719 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007453/0.3105, allocations: 463.2 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3106, allocations: 8.031 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.3106, allocations: 16.69 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.3108, allocations: 208 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3108, allocations: 8.375 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.3109, allocations: 4.375 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.3112, allocations: 147.9 kB / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3113, allocations: 192 / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3113, allocations: 3.938 kB / 0.787 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3113, allocations: 4 kB / 0.787 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.3118, allocations: 175.7 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008555/0.3126, allocations: 0.4969 MB / 0.7877 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.483/0.7956, allocations: 162.2 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.796, allocations: 96.92 kB / 0.7879 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.796, allocations: 3.969 kB / 0.7879 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.796, allocations: 36.61 kB / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 3.877e-06/0.796, allocations: 0 / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0008286/0.7969, allocations: 280.7 kB / 0.7882 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.7969, allocations: 80.67 kB / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.7971, allocations: 161.1 kB / 0.7885 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.7971, allocations: 27.2 kB / 0.7885 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.7971, allocations: 105.3 kB / 0.7886 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.7972, allocations: 25.16 kB / 0.7886 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.7972, allocations: 22.66 kB / 0.7886 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.7973, allocations: 329.3 kB / 0.789 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.7975, allocations: 80.72 kB / 0.789 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.7977, allocations: 92.17 kB / 0.7891 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.7981, allocations: 172.9 kB / 0.7893 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7981, allocations: 3.219 kB / 0.7893 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004401/0.7985, allocations: 204 kB / 0.7895 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.7986, allocations: 2.969 kB / 0.7895 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7986, allocations: 2.844 kB / 0.7895 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.7986, allocations: 0.5625 kB / 0.7895 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.7988, allocations: 40.5 kB / 0.7895 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.7988, allocations: 1.688 kB / 0.7895 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.7989, allocations: 33.33 kB / 0.7896 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.799, allocations: 2.688 kB / 0.7896 GB, free: 48.09 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 8.529e-05/0.7991, allocations: 135.5 kB / 0.7897 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.7991, allocations: 8.781 kB / 0.7897 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.7992, allocations: 16.41 kB / 0.7897 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.7992, allocations: 4.734 kB / 0.7897 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7992, allocations: 0 / 0.7897 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7992, allocations: 0 / 0.7897 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.7994, allocations: 225.5 kB / 0.7899 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7994, allocations: 1.156 kB / 0.7899 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.7996, allocations: 39.95 kB / 0.79 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7996, allocations: 4.406 kB / 0.79 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.7996, allocations: 1.188 kB / 0.79 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.7996, allocations: 1.938 kB / 0.79 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7996, allocations: 0.7812 kB / 0.79 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.8001, allocations: 388.1 kB / 0.7904 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.8002, allocations: 89 kB / 0.7904 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.8002, allocations: 3.75 kB / 0.7904 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.8004, allocations: 27.52 kB / 0.7905 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.8005, allocations: 9.875 kB / 0.7905 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.8005, allocations: 9.438 kB / 0.7905 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.09e-05/0.8005, allocations: 123.3 kB / 0.7906 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8005, allocations: 0 / 0.7906 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000267/0.8008, allocations: 19.69 kB / 0.7906 GB, free: 47.39 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001268/0.801, allocations: 107 kB / 0.7907 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004667/0.8014, allocations: 175.4 kB / 0.7909 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8014, allocations: 0 / 0.7909 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.8017, allocations: 93.33 kB / 0.791 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.802, allocations: 17.38 kB / 0.791 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.8025, allocations: 245.7 kB / 0.7912 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.8026, allocations: 0.7168 MB / 0.7919 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.574e-05/0.8027, allocations: 24.89 kB / 0.792 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.8027, allocations: 13.5 kB / 0.792 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.8028, allocations: 0 / 0.792 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.003317/0.8061, allocations: 1.186 MB / 0.7931 GB, free: 46.44 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)