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.001409/0.001409, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001782/0.001782, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.518/1.518, allocations: 205.1 MB / 222 MB, free: 5 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.777/1.777, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.00136/0.00136, allocations: 72.03 kB / 0.6708 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2539, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002559/0.2565, allocations: 0.8332 MB / 0.7835 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2576, allocations: 0.8282 MB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.2577, allocations: 0 / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.258, allocations: 55.84 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.966e-05/0.2581, allocations: 35.84 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.269e-05/0.2582, allocations: 19.98 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.2583, allocations: 83.73 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.2585, allocations: 20 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.331e-05/0.2586, allocations: 43.83 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.2588, allocations: 83.72 kB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.2588, allocations: 4 kB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.927e-05/0.2589, allocations: 4 kB / 0.7846 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.259, allocations: 27.91 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.115e-05/0.259, allocations: 47.72 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.2592, allocations: 107.6 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2592, allocations: 0 / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2592, allocations: 0 / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.2593, allocations: 0 / 0.7848 GB, free: 11.79 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000868/0.2601, allocations: 475 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2602, allocations: 8.031 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.2602, allocations: 12.84 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.2604, allocations: 203 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2605, allocations: 4.375 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.2605, allocations: 12.38 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.2609, allocations: 151.7 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2609, allocations: 4.172 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.2609, allocations: 11.88 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2609, allocations: 4 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.2614, allocations: 163.8 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.2622, allocations: 0.5047 MB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.2626, allocations: 169.1 kB / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.2628, allocations: 98.8 kB / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/0.2629, allocations: 0 / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.2629, allocations: 30.56 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.2629, allocations: 0 / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0008349/0.2637, allocations: 289.2 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.2638, allocations: 85.05 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2639, allocations: 158.2 kB / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.264, allocations: 25.7 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.264, allocations: 112.1 kB / 0.7872 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.2641, allocations: 23.62 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.2641, allocations: 25.7 kB / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2643, allocations: 326.8 kB / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.2645, allocations: 75.92 kB / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.2647, allocations: 89.64 kB / 0.7877 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/0.2652, allocations: 173.5 kB / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2652, allocations: 0 / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005035/0.2657, allocations: 205.8 kB / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2657, allocations: 4 kB / 0.7881 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2658, allocations: 4 kB / 0.7881 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2658, allocations: 3.984 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.266, allocations: 31.97 kB / 0.7882 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.266, allocations: 4 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.2661, allocations: 31.89 kB / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2662, allocations: 4 kB / 0.7882 GB, free: 8.062 MB / 0.6075 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 0.0001033/0.2663, allocations: 129.8 kB / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.2663, allocations: 15.84 kB / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.2664, allocations: 20.25 kB / 0.7883 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2664, allocations: 0 / 0.7883 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.2664, allocations: 4 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2664, allocations: 7.984 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.2667, allocations: 225.5 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2667, allocations: 0 / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.2669, allocations: 35.91 kB / 0.7886 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2669, allocations: 3.984 kB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2669, allocations: 0 / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.2669, allocations: 8 kB / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2669, allocations: 0 / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.2675, allocations: 378.5 kB / 0.789 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.2676, allocations: 88.92 kB / 0.7891 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.2676, allocations: 0 / 0.7891 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.2678, allocations: 35.95 kB / 0.7891 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.2679, allocations: 15.86 kB / 0.7891 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.2679, allocations: 0 / 0.7891 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.573e-05/0.268, allocations: 125.4 kB / 0.7892 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.268, allocations: 0 / 0.7892 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002591/0.2682, allocations: 16 kB / 0.7893 GB, free: 6.879 MB / 0.6075 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.0001662/0.2684, allocations: 115.2 kB / 0.7894 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005339/0.269, allocations: 167.7 kB / 0.7895 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.269, allocations: 0 / 0.7895 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.2692, allocations: 91.92 kB / 0.7896 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.2696, allocations: 18.91 kB / 0.7896 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.2701, allocations: 280.8 kB / 0.7899 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.2704, allocations: 0.7121 MB / 0.7906 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.243e-05/0.2705, allocations: 27.97 kB / 0.7906 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.2706, allocations: 7.438 kB / 0.7906 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2706, allocations: 4 kB / 0.7906 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of Templates: time 0.003204/0.2738, allocations: 0.996 MB / 0.7916 GB, free: 4.422 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)