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.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.001413/0.001413, allocations: 80.28 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001584/0.001584, allocations: 168.2 kB / 22.47 MB, free: 5.352 MB / 14.72 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.578/1.578, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.733/2.733, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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 2.645e-06/2.645e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.218e-05, allocations: 8.672 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001879/0.001911, allocations: 0.7534 MB / 0.9518 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.003181, allocations: 0.8548 MB / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.003236, allocations: 4 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.003494, allocations: 59.73 kB / 0.9527 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.039e-05/0.003584, allocations: 35.83 kB / 0.9527 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.993e-05/0.003674, allocations: 15.98 kB / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.003825, allocations: 95.67 kB / 0.9528 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.003962, allocations: 15.98 kB / 0.9528 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.004074, allocations: 55.88 kB / 0.9529 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.004235, allocations: 75.84 kB / 0.953 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.004264, allocations: 8 kB / 0.953 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.94e-05/0.004284, allocations: 8 kB / 0.953 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.684e-05/0.004361, allocations: 47.83 kB / 0.953 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.004413, allocations: 27.91 kB / 0.953 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.004587, allocations: 123.6 kB / 0.9532 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.00459, allocations: 0 / 0.9532 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00459, allocations: 0 / 0.9532 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.004594, allocations: 0 / 0.9532 GB, free: 9.348 MB / 0.8575 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.0007744/0.005369, allocations: 389.7 kB / 0.9535 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.005404, allocations: 12.03 kB / 0.9535 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.00545, allocations: 16.84 kB / 0.9536 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.005656, allocations: 145.6 kB / 0.9537 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.00567, allocations: 4.375 kB / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.005686, allocations: 4.375 kB / 0.9537 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.006099, allocations: 155.7 kB / 0.9539 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.006109, allocations: 192 / 0.9539 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.006122, allocations: 4.375 kB / 0.9539 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.006128, allocations: 4.375 kB / 0.9539 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005627/0.00669, allocations: 171.8 kB / 0.954 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/0.007499, allocations: 436.5 kB / 0.9544 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.007938, allocations: 165.1 kB / 0.9546 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.008217, allocations: 89.73 kB / 0.9547 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.008234, allocations: 0 / 0.9547 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.008267, allocations: 34.5 kB / 0.9547 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.008269, allocations: 11.94 kB / 0.9547 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0009286/0.009197, allocations: 281.3 kB / 0.955 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/0.009273, allocations: 77.11 kB / 0.9551 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.009428, allocations: 165.2 kB / 0.9552 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.009453, allocations: 29.7 kB / 0.9553 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.00954, allocations: 108.1 kB / 0.9554 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.009578, allocations: 23.75 kB / 0.9554 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.009625, allocations: 21.72 kB / 0.9554 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.009789, allocations: 322.8 kB / 0.9557 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.01006, allocations: 75.92 kB / 0.9558 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.01032, allocations: 97.62 kB / 0.9559 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.01085, allocations: 177.9 kB / 0.9561 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01085, allocations: 0 / 0.9561 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005777/0.01143, allocations: 209.4 kB / 0.9563 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.01144, allocations: 4 kB / 0.9563 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01145, allocations: 0 / 0.9563 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.01146, allocations: 4 kB / 0.9563 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.01167, allocations: 31.95 kB / 0.9563 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01167, allocations: 4 kB / 0.9563 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.01181, allocations: 35.91 kB / 0.9563 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.01182, allocations: 4 kB / 0.9563 GB, free: 5.887 MB / 0.8575 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.0001129/0.01193, allocations: 125.8 kB / 0.9565 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.01199, allocations: 15.89 kB / 0.9565 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.01203, allocations: 16.34 kB / 0.9565 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01204, allocations: 4 kB / 0.9565 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.01204, allocations: 3.938 kB / 0.9565 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01205, allocations: 4 kB / 0.9565 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.01231, allocations: 165.1 kB / 0.9567 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01231, allocations: 7.938 kB / 0.9567 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.01248, allocations: 31.97 kB / 0.9567 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01248, allocations: 0 / 0.9567 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.0125, allocations: 11.92 kB / 0.9567 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.0125, allocations: 0 / 0.9567 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01251, allocations: 0 / 0.9567 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.01316, allocations: 374.6 kB / 0.9571 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.01317, allocations: 7.953 kB / 0.9571 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.0132, allocations: 3.938 kB / 0.9571 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.01339, allocations: 31.89 kB / 0.9571 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.01345, allocations: 7.984 kB / 0.9571 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.01346, allocations: 4 kB / 0.9571 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.829e-05/0.01356, allocations: 124.1 kB / 0.9572 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01356, allocations: 0 / 0.9572 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002785/0.01383, allocations: 27.89 kB / 0.9573 GB, free: 4.879 MB / 0.8575 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.0001493/0.01398, allocations: 99.23 kB / 0.9574 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006121/0.0146, allocations: 168 kB / 0.9575 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0146, allocations: 4 kB / 0.9575 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.01488, allocations: 87.92 kB / 0.9576 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.01525, allocations: 17.84 kB / 0.9576 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.01582, allocations: 250.5 kB / 0.9579 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.01594, allocations: 100.3 kB / 0.958 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.113e-05/0.01602, allocations: 28.44 kB / 0.958 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.01607, allocations: 12.5 kB / 0.958 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of SimCode: time 3.7e-07/0.01607, allocations: 0 / 0.958 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.004331/0.0204, allocations: 1.248 MB / 0.9592 GB, free: 2.844 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.177555032074451]