Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 201.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.89 kB / 1.109 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9646/0.9666, allocations: 168.7 MB / 1.274 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002119/0.9687, allocations: 0.7782 MB / 1.275 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.9698, allocations: 0.8351 MB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.9698, allocations: 4 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.97, allocations: 51.8 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.9701, allocations: 39.83 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.463e-05/0.9702, allocations: 19.97 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.9703, allocations: 87.75 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.9704, allocations: 15.98 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.186e-05/0.9705, allocations: 47.77 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.9707, allocations: 83.78 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.9707, allocations: 8 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.905e-05/0.9707, allocations: 8 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.9708, allocations: 39.89 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.9709, allocations: 47.73 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.971, allocations: 114.2 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.971, allocations: 4 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.971, allocations: 0 / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.9711, allocations: 0 / 1.276 GB, free: 2.203 MB / 0.9669 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.0008878/0.9719, allocations: 470.7 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.972, allocations: 12.03 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.972, allocations: 8.891 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.9723, allocations: 220.9 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.9723, allocations: 4.375 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.9723, allocations: 4.375 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.9728, allocations: 151.9 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.9728, allocations: 192 / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.9728, allocations: 7.938 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.9728, allocations: 0 / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.9734, allocations: 171.8 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.9743, allocations: 0.4969 MB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.9747, allocations: 165.1 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.975, allocations: 85.73 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.975, allocations: 4 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.975, allocations: 34.56 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.975, allocations: 4 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.000974/0.976, allocations: 285.3 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.9761, allocations: 77.11 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.9762, allocations: 169.2 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.9763, allocations: 29.7 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.9763, allocations: 100.1 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.9764, allocations: 35.72 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.9764, allocations: 21.66 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.9766, allocations: 326.8 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.9769, allocations: 83.86 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.9771, allocations: 93.64 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.9776, allocations: 173.6 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9776, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005843/0.9782, allocations: 213.8 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.9782, allocations: 4 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.9782, allocations: 8 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.9783, allocations: 4 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.9785, allocations: 31.95 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.9785, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.9786, allocations: 27.91 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.9786, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 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.000121/0.9788, allocations: 137.7 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.9788, allocations: 11.95 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.821e-05/0.9789, allocations: 24.23 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.9789, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.9789, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.9789, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.9792, allocations: 229.5 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9792, allocations: 0 / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.9794, allocations: 35.95 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9794, allocations: 4 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.9794, allocations: 4 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9794, allocations: 0 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9794, allocations: 0 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006612/0.9801, allocations: 386.5 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.9801, allocations: 93 kB / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.9802, allocations: 0 / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.9804, allocations: 19.97 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.9804, allocations: 11.98 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.9804, allocations: 4 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001123/0.9805, allocations: 126.5 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9805, allocations: 0 / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002667/0.9808, allocations: 20 kB / 1.281 GB, free: 13.3 MB / 0.9825 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.0001654/0.981, allocations: 107.7 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005912/0.9816, allocations: 171.7 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9816, allocations: 7.938 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.9818, allocations: 87.86 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.9822, allocations: 11.98 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.9828, allocations: 279.6 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.9831, allocations: 0.7158 MB / 1.282 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.543e-05/0.9832, allocations: 23.97 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.9833, allocations: 11.44 kB / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.9833, allocations: 0 / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of Templates: time 0.00405/0.9873, allocations: 1.238 MB / 1.283 GB, free: 10.61 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.10374956810847]