Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 297.4 MB / 312.6 MB, free: 2.91 MB / 234.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.001309/0.001309, allocations: 186 kB / 382.3 MB, free: 14.82 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.469/1.469, allocations: 225.7 MB / 0.6617 GB, free: 7.211 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009138/0.0009139, allocations: 89.53 kB / 0.7789 GB, free: 46.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 19.98 kB / 0.9059 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7945/0.795, allocations: 119.2 MB / 1.022 GB, free: 58.05 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001101/0.7961, allocations: 486.3 kB / 1.023 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.7974, allocations: 0.8218 MB / 1.024 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.7974, allocations: 0 / 1.024 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.7976, allocations: 52.77 kB / 1.024 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/0.7977, allocations: 32.98 kB / 1.024 GB, free: 57.4 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.179e-05/0.7978, allocations: 12.33 kB / 1.024 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.7979, allocations: 93.09 kB / 1.024 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.7981, allocations: 18.53 kB / 1.024 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.7982, allocations: 38.33 kB / 1.024 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.7983, allocations: 74.2 kB / 1.024 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.7984, allocations: 4.125 kB / 1.024 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.7984, allocations: 4.188 kB / 1.024 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.203e-05/0.7985, allocations: 28.66 kB / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.703e-05/0.7986, allocations: 67.3 kB / 1.024 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.7988, allocations: 107.3 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.7988, allocations: 0 / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7988, allocations: 1 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7988, allocations: 0 / 1.024 GB, free: 57.24 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.0007513/0.7996, allocations: 468.3 kB / 1.025 GB, free: 56.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.7996, allocations: 10.17 kB / 1.025 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.7997, allocations: 14.28 kB / 1.025 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.7999, allocations: 212.3 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.7999, allocations: 6.438 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.7999, allocations: 5.062 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.8004, allocations: 165.5 kB / 1.025 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.8004, allocations: 1.469 kB / 1.025 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.8004, allocations: 5.875 kB / 1.025 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.8004, allocations: 0.6562 kB / 1.025 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005627/0.801, allocations: 209.9 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.8019, allocations: 0.5157 MB / 1.026 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.8023, allocations: 187.1 kB / 1.026 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.8026, allocations: 108.1 kB / 1.026 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.8027, allocations: 5.094 kB / 1.026 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.8027, allocations: 37.11 kB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.8027, allocations: 0 / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0009606/0.8037, allocations: 333.9 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.8037, allocations: 81.05 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.8039, allocations: 165.7 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.8039, allocations: 29.7 kB / 1.027 GB, free: 55.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.804, allocations: 105.1 kB / 1.027 GB, free: 55.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.804, allocations: 26.59 kB / 1.027 GB, free: 55.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.804, allocations: 0 / 1.027 GB, free: 55.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.8042, allocations: 331.7 kB / 1.027 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.8044, allocations: 95.17 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.8047, allocations: 114.3 kB / 1.027 GB, free: 55.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.8052, allocations: 200.9 kB / 1.027 GB, free: 55.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8052, allocations: 0 / 1.027 GB, free: 55.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000574/0.8058, allocations: 240.3 kB / 1.028 GB, free: 55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.8058, allocations: 10.19 kB / 1.028 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8058, allocations: 2.875 kB / 1.028 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.8059, allocations: 2.031 kB / 1.028 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.8061, allocations: 50.88 kB / 1.028 GB, free: 54.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.8061, allocations: 0 / 1.028 GB, free: 54.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.8063, allocations: 33.97 kB / 1.028 GB, free: 54.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.8063, allocations: 3.938 kB / 1.028 GB, free: 54.99 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 0.0001107/0.8064, allocations: 136.5 kB / 1.028 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.8065, allocations: 8.469 kB / 1.028 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.8065, allocations: 20.11 kB / 1.028 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.8065, allocations: 3.625 kB / 1.028 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.8065, allocations: 0 / 1.028 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.8066, allocations: 0 / 1.028 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.8069, allocations: 231.5 kB / 1.028 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8069, allocations: 0 / 1.028 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.807, allocations: 43.98 kB / 1.028 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8071, allocations: 2.188 kB / 1.028 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.8071, allocations: 4 kB / 1.028 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.8071, allocations: 1.781 kB / 1.028 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8071, allocations: 0 / 1.028 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.8077, allocations: 416.1 kB / 1.029 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.8078, allocations: 88.27 kB / 1.029 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.8078, allocations: 5.781 kB / 1.029 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.808, allocations: 34.84 kB / 1.029 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.8081, allocations: 7.969 kB / 1.029 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.8081, allocations: 6.812 kB / 1.029 GB, free: 54.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001017/0.8082, allocations: 122.5 kB / 1.029 GB, free: 54.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8082, allocations: 3.938 kB / 1.029 GB, free: 54.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002513/0.8085, allocations: 24 kB / 1.029 GB, free: 54.16 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.0001508/0.8086, allocations: 104.7 kB / 1.029 GB, free: 54.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005882/0.8092, allocations: 213.3 kB / 1.029 GB, free: 54.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8092, allocations: 0 / 1.029 GB, free: 54.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.8095, allocations: 110.8 kB / 1.029 GB, free: 54.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.8099, allocations: 15.12 kB / 1.029 GB, free: 54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006279/0.8106, allocations: 285.3 kB / 1.029 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.8108, allocations: 0.7115 MB / 1.03 GB, free: 53.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.811, allocations: 34.81 kB / 1.03 GB, free: 53.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.811, allocations: 11.34 kB / 1.03 GB, free: 53.08 MB / 0.698 GB Notification: Performance of SimCode: time 6.12e-07/0.811, allocations: 0 / 1.03 GB, free: 53.08 MB / 0.698 GB Notification: Performance of Templates: time 0.003489/0.8145, allocations: 0.9746 MB / 1.031 GB, free: 53 MB / 0.698 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)