Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.861/1.861, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 175.3 kB / 393.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008942/0.000894, allocations: 94.59 kB / 0.7935 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005777/0.0005777, allocations: 12 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7653/0.7659, allocations: 121.3 MB / 1.041 GB, free: 58.32 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001071/0.767, allocations: 487.9 kB / 1.041 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009352/0.768, allocations: 0.8183 MB / 1.042 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.768, allocations: 4.938 kB / 1.042 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.7682, allocations: 48.91 kB / 1.042 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.037e-05/0.7683, allocations: 39.23 kB / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.127e-05/0.7684, allocations: 18.92 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.7685, allocations: 82.53 kB / 1.042 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.7687, allocations: 26.73 kB / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.176e-05/0.7688, allocations: 33.5 kB / 1.042 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.7689, allocations: 74.53 kB / 1.042 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.769, allocations: 3.062 kB / 1.042 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.896e-05/0.769, allocations: 3.688 kB / 1.042 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.7691, allocations: 29.77 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.251e-05/0.7692, allocations: 69.83 kB / 1.043 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.7693, allocations: 104.5 kB / 1.043 GB, free: 57.22 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7693, allocations: 1.406 kB / 1.043 GB, free: 57.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7693, allocations: 0 / 1.043 GB, free: 57.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.7694, allocations: 2.688 kB / 1.043 GB, free: 57.22 MB / 0.698 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.0007323/0.7701, allocations: 462.5 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.7701, allocations: 14.97 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.7702, allocations: 9.656 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.7704, allocations: 207.5 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.7704, allocations: 8.719 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.7704, allocations: 1.062 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.7708, allocations: 167.9 kB / 1.044 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.7709, allocations: 5.312 kB / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.7709, allocations: 4.75 kB / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.7709, allocations: 1.906 kB / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.7714, allocations: 209.8 kB / 1.044 GB, free: 56.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007754/0.7722, allocations: 0.5123 MB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.7726, allocations: 181.2 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.7729, allocations: 115.1 kB / 1.045 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.773, allocations: 0 / 1.045 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.773, allocations: 42.09 kB / 1.045 GB, free: 55.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.773, allocations: 0 / 1.045 GB, free: 55.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0008848/0.7739, allocations: 330.9 kB / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.7739, allocations: 77.89 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.774, allocations: 168 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.7741, allocations: 26.55 kB / 1.045 GB, free: 55.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.7741, allocations: 104.3 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.7742, allocations: 29.5 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/0.7742, allocations: 0 / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.7743, allocations: 325.9 kB / 1.046 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.7746, allocations: 97.72 kB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.7749, allocations: 120.3 kB / 1.046 GB, free: 55.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.7754, allocations: 201.9 kB / 1.046 GB, free: 55.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7754, allocations: 0 / 1.046 GB, free: 55.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005543/0.776, allocations: 245.5 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.776, allocations: 7.844 kB / 1.046 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.776, allocations: 5.812 kB / 1.046 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.776, allocations: 0.7969 kB / 1.046 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.7763, allocations: 46.2 kB / 1.046 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7763, allocations: 1.188 kB / 1.046 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.7764, allocations: 31.36 kB / 1.046 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.7764, allocations: 2.594 kB / 1.046 GB, free: 54.96 MB / 0.698 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.296e-05/0.7765, allocations: 137.8 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.7766, allocations: 18.22 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.7766, allocations: 15.09 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.7766, allocations: 1.344 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7766, allocations: 0 / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7766, allocations: 2.875 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.7769, allocations: 225.8 kB / 1.047 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7769, allocations: 0 / 1.047 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.7771, allocations: 48.89 kB / 1.047 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7771, allocations: 0 / 1.047 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.7772, allocations: 0 / 1.047 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.7772, allocations: 1.062 kB / 1.047 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7772, allocations: 5.5 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/0.7778, allocations: 415.4 kB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.7778, allocations: 94.02 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.7779, allocations: 1.375 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.7781, allocations: 31.55 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.7781, allocations: 14.5 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.7781, allocations: 7.469 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.99e-05/0.7782, allocations: 119.3 kB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7782, allocations: 0 / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002352/0.7785, allocations: 16.59 kB / 1.047 GB, free: 54.14 MB / 0.698 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.0001465/0.7786, allocations: 104.2 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005941/0.7792, allocations: 216.5 kB / 1.048 GB, free: 54.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.7792, allocations: 4.844 kB / 1.048 GB, free: 54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.7795, allocations: 106.4 kB / 1.048 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.7798, allocations: 11.16 kB / 1.048 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.7804, allocations: 291 kB / 1.048 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.7805, allocations: 0.7051 MB / 1.049 GB, free: 53.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.29e-05/0.7806, allocations: 26.98 kB / 1.049 GB, free: 53.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.7807, allocations: 15.38 kB / 1.049 GB, free: 53.06 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.7807, allocations: 0 / 1.049 GB, free: 53.06 MB / 0.698 GB Notification: Performance of Templates: time 0.003149/0.7838, allocations: 0.9751 MB / 1.05 GB, free: 52.97 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)