Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 255.9 MB / 271.2 MB, free: 8.887 MB / 218.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.0009725/0.0009725, allocations: 181.1 kB / 330.8 MB, free: 472 kB / 250.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.746/1.746, allocations: 225.7 MB / 0.6016 GB, free: 1.641 MB / 426.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.0009487/0.0009486, allocations: 97.42 kB / 0.709 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2527, allocations: 109.2 MB / 0.9328 GB, free: 6.234 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001842/0.2546, allocations: 1.194 MB / 0.9339 GB, free: 5.031 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0003512/0.255, allocations: 139.7 kB / 0.9341 GB, free: 4.895 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.2551, allocations: 0 / 0.9341 GB, free: 4.895 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.2553, allocations: 47.88 kB / 0.9341 GB, free: 4.848 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-05/0.2554, allocations: 39.81 kB / 0.9342 GB, free: 4.809 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 8.159e-05/0.2555, allocations: 15.98 kB / 0.9342 GB, free: 4.793 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.2556, allocations: 87.75 kB / 0.9343 GB, free: 4.707 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.2558, allocations: 19.98 kB / 0.9343 GB, free: 4.688 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.749e-05/0.2559, allocations: 35.83 kB / 0.9343 GB, free: 4.652 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.2561, allocations: 79.78 kB / 0.9344 GB, free: 4.574 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.2561, allocations: 4 kB / 0.9344 GB, free: 4.57 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.825e-05/0.2561, allocations: 4 kB / 0.9344 GB, free: 4.566 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 8.438e-05/0.2562, allocations: 31.91 kB / 0.9344 GB, free: 4.535 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/0.2563, allocations: 69.31 kB / 0.9345 GB, free: 4.461 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.2565, allocations: 107.6 kB / 0.9346 GB, free: 4.355 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2565, allocations: 4 kB / 0.9346 GB, free: 4.352 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2565, allocations: 0 / 0.9346 GB, free: 4.352 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2565, allocations: 0 / 0.9346 GB, free: 4.352 MB / 0.573 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.0008422/0.2574, allocations: 451.4 kB / 0.935 GB, free: 3.859 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.691e-05/0.2575, allocations: 19.97 kB / 0.935 GB, free: 3.84 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.2575, allocations: 16.69 kB / 0.9351 GB, free: 3.824 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.2577, allocations: 208.9 kB / 0.9353 GB, free: 3.582 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2578, allocations: 4.375 kB / 0.9353 GB, free: 3.578 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.2578, allocations: 8.359 kB / 0.9353 GB, free: 3.57 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.2584, allocations: 163.8 kB / 0.9354 GB, free: 3.398 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2584, allocations: 192 / 0.9354 GB, free: 3.398 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.2584, allocations: 7.938 kB / 0.9354 GB, free: 3.391 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2584, allocations: 4 kB / 0.9354 GB, free: 3.387 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007955/0.2592, allocations: 199.8 kB / 0.9356 GB, free: 3.191 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.2604, allocations: 0.5203 MB / 0.9361 GB, free: 2.617 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.261, allocations: 177.1 kB / 0.9363 GB, free: 2.426 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.2615, allocations: 117.7 kB / 0.9364 GB, free: 2.305 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.2615, allocations: 0 / 0.9364 GB, free: 2.305 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.2615, allocations: 34.56 kB / 0.9365 GB, free: 2.262 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.2615, allocations: 0 / 0.9365 GB, free: 2.262 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.00144/0.263, allocations: 333.3 kB / 0.9368 GB, free: 1.93 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.263, allocations: 81.11 kB / 0.9369 GB, free: 1.832 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.2632, allocations: 164.8 kB / 0.937 GB, free: 1.664 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2632, allocations: 25.7 kB / 0.937 GB, free: 1.633 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.2633, allocations: 104.1 kB / 0.9371 GB, free: 1.527 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.2634, allocations: 31.55 kB / 0.9372 GB, free: 1.496 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.2634, allocations: 0 / 0.9372 GB, free: 1.496 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.2635, allocations: 326.8 kB / 0.9375 GB, free: 1.168 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.2639, allocations: 99.91 kB / 0.9376 GB, free: 1.07 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.2643, allocations: 113.6 kB / 0.9377 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/0.2651, allocations: 209.5 kB / 0.9379 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2651, allocations: 0 / 0.9379 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008893/0.266, allocations: 233.4 kB / 0.9381 GB, free: 0.5078 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.2661, allocations: 15.89 kB / 0.9381 GB, free: 0.4922 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2661, allocations: 0 / 0.9381 GB, free: 0.4922 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.2661, allocations: 4 kB / 0.9381 GB, free: 500 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.2664, allocations: 39.97 kB / 0.9382 GB, free: 460 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2665, allocations: 0 / 0.9382 GB, free: 460 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.2667, allocations: 47.8 kB / 0.9382 GB, free: 412 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.2667, allocations: 4 kB / 0.9382 GB, free: 408 kB / 0.573 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.0001003/0.2668, allocations: 130.4 kB / 0.9383 GB, free: 268 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/0.2669, allocations: 15.91 kB / 0.9383 GB, free: 252 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.2669, allocations: 16.25 kB / 0.9384 GB, free: 228 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2669, allocations: 0 / 0.9384 GB, free: 228 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.267, allocations: 3.984 kB / 0.9384 GB, free: 224 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.267, allocations: 0 / 0.9384 GB, free: 224 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.2674, allocations: 229.5 kB / 0.9386 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2674, allocations: 0 / 0.9386 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.2676, allocations: 47.95 kB / 0.9386 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2677, allocations: 4.469 kB / 0.9386 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2677, allocations: 0 / 0.9386 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2677, allocations: 0 / 0.9386 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2677, allocations: 0 / 0.9386 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009289/0.2687, allocations: 414.4 kB / 0.939 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.2687, allocations: 89 kB / 0.9391 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.2688, allocations: 7.922 kB / 0.9391 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.2691, allocations: 35.97 kB / 0.9392 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.2692, allocations: 7.984 kB / 0.9392 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.2692, allocations: 4 kB / 0.9392 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001303/0.2693, allocations: 121 kB / 0.9393 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2693, allocations: 0 / 0.9393 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004672/0.2698, allocations: 20 kB / 0.9393 GB, free: 15.18 MB / 0.5886 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.0002002/0.27, allocations: 115.2 kB / 0.9394 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008361/0.2709, allocations: 207.7 kB / 0.9396 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2709, allocations: 0 / 0.9396 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.2713, allocations: 107.9 kB / 0.9397 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.2719, allocations: 15.98 kB / 0.9397 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.2726, allocations: 290.2 kB / 0.94 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.2731, allocations: 0.716 MB / 0.9407 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.2732, allocations: 23.97 kB / 0.9407 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.2733, allocations: 11.44 kB / 0.9407 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.2733, allocations: 0 / 0.9407 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of Templates: time 0.00475/0.2781, allocations: 0.9745 MB / 0.9417 GB, free: 12.67 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)