Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001847/0.002998, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002617, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09679/1.104, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.892/1.892, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5627/2.455, allocations: 123.3 MB / 0.728 GB, free: 5.844 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_12_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.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.7294 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.811e-05, allocations: 2.859 kB / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002588/0.002616, allocations: 0.8112 MB / 0.7302 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003698, allocations: 0.8802 MB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.003747, allocations: 0.6875 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.003894, allocations: 60.77 kB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.166e-05/0.003976, allocations: 44.47 kB / 0.7311 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.372e-05/0.00406, allocations: 27.95 kB / 0.7312 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.004191, allocations: 86.06 kB / 0.7313 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.004281, allocations: 13.08 kB / 0.7313 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.0044, allocations: 69.19 kB / 0.7313 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.004533, allocations: 71.86 kB / 0.7314 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.004558, allocations: 8 kB / 0.7314 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.143e-05/0.00458, allocations: 8 kB / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.00463, allocations: 23.92 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.004669, allocations: 20.44 kB / 0.7315 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.004803, allocations: 88.23 kB / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.004815, allocations: 0 / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004816, allocations: 1.594 kB / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.004826, allocations: 0 / 0.7315 GB, free: 2.32 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.0004995/0.005325, allocations: 340.6 kB / 0.7319 GB, free: 1.961 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.005356, allocations: 8.844 kB / 0.7319 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.005387, allocations: 12.88 kB / 0.7319 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.00553, allocations: 144.4 kB / 0.732 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.005539, allocations: 4.375 kB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.005552, allocations: 8.359 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.005771, allocations: 111.9 kB / 0.7321 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.005776, allocations: 192 / 0.7321 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.005785, allocations: 1.094 kB / 0.7321 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.005789, allocations: 384 / 0.7321 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.008e-05/0.005869, allocations: 35.17 kB / 0.7322 GB, free: 1.605 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.006285, allocations: 312.8 kB / 0.7325 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.00644, allocations: 159.2 kB / 0.7326 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.006486, allocations: 14.97 kB / 0.7326 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.006499, allocations: 7.984 kB / 0.7327 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.006523, allocations: 30.56 kB / 0.7327 GB, free: 1.035 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.006524, allocations: 1.25 kB / 0.7327 GB, free: 1.035 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002101/0.006734, allocations: 73.55 kB / 0.7328 GB, free: 0.957 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.00678, allocations: 81.11 kB / 0.7328 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.296e-05/0.006873, allocations: 150.4 kB / 0.733 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.00692, allocations: 29.7 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.006961, allocations: 93.45 kB / 0.7331 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.006994, allocations: 27.73 kB / 0.7331 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.007039, allocations: 17.72 kB / 0.7331 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.007137, allocations: 326.8 kB / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.007168, allocations: 15.94 kB / 0.7335 GB, free: 184 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.007206, allocations: 25.64 kB / 0.7335 GB, free: 152 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.007277, allocations: 50.11 kB / 0.7335 GB, free: 92 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007278, allocations: 0.9688 kB / 0.7335 GB, free: 92 kB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001056/0.007384, allocations: 67.73 kB / 0.7336 GB, free: 16 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.007399, allocations: 4.781 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.007405, allocations: 3.938 kB / 0.7336 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/0.007413, allocations: 5.203 kB / 0.7336 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.007561, allocations: 23.98 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.007565, allocations: 0 / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.007618, allocations: 17.92 kB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.007627, allocations: 4 kB / 0.7337 GB, free: 15.96 MB / 0.7136 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 7.81e-05/0.007705, allocations: 116.7 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.007749, allocations: 8 kB / 0.7338 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.007789, allocations: 26.45 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.007791, allocations: 3.938 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.007794, allocations: 0 / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.007798, allocations: 4 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.007999, allocations: 93.81 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008001, allocations: 0 / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.008104, allocations: 29.45 kB / 0.7339 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.008119, allocations: 11.89 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.00812, allocations: 0 / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.008128, allocations: 1.25 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.008132, allocations: 7.938 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.008134, allocations: 0 / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.00834, allocations: 321.4 kB / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.008356, allocations: 5.25 kB / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.008474, allocations: 11.98 kB / 0.7343 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.008525, allocations: 15.92 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.00853, allocations: 0.5625 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.00857, allocations: 39.75 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.1e-08/0.00857, allocations: 0 / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002534/0.008823, allocations: 21.53 kB / 0.7343 GB, free: 15.21 MB / 0.7136 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.0001102/0.008933, allocations: 75.23 kB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.00904, allocations: 45.83 kB / 0.7345 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.009048, allocations: 0 / 0.7345 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.009093, allocations: 28.72 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.009374, allocations: 19.22 kB / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.01002, allocations: 248.5 kB / 0.7347 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.27e-05/0.01007, allocations: 67.34 kB / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.898e-05/0.01012, allocations: 10.77 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.0102, allocations: 55.38 kB / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.0102, allocations: 0 / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of Templates: time 0.002587/0.01279, allocations: 1.186 MB / 0.736 GB, free: 13.48 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.958028648048639]