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.001821/0.001821, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002149/0.002149, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.807/2.807, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 68.06 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3177, allocations: 170 MB / 1.284 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002048/0.3197, allocations: 0.7469 MB / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3208, allocations: 0.855 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.3209, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.3211, allocations: 59.78 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.3211, allocations: 39.84 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.292e-05/0.3212, allocations: 19.97 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3213, allocations: 95.73 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3215, allocations: 8 kB / 1.286 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.3215, allocations: 47.83 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.3217, allocations: 83.77 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.3217, allocations: 8 kB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.3217, allocations: 8 kB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.3218, allocations: 35.84 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.3218, allocations: 43.73 kB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.322, allocations: 123.5 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.322, allocations: 0 / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/0.322, allocations: 0 / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.322, allocations: 3.938 kB / 1.286 GB, free: 9.645 MB / 0.9825 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.0007501/0.3228, allocations: 385.7 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.3228, allocations: 8.031 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.3228, allocations: 16.84 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.323, allocations: 151.3 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3231, allocations: 8.375 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3231, allocations: 4.375 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.3235, allocations: 147.9 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3235, allocations: 192 / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3235, allocations: 3.938 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3235, allocations: 4 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.3241, allocations: 179.7 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.3248, allocations: 432.6 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.3252, allocations: 169 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.3255, allocations: 85.73 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.3255, allocations: 4 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.3256, allocations: 34.56 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3256, allocations: 0 / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.000885/0.3264, allocations: 293.7 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.3265, allocations: 77.11 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3267, allocations: 160 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3267, allocations: 25.7 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.3268, allocations: 108.1 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.3268, allocations: 35.67 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.3268, allocations: 21.72 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.327, allocations: 322.8 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.3272, allocations: 75.92 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.3275, allocations: 101.6 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.328, allocations: 165.6 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.328, allocations: 3.938 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005616/0.3286, allocations: 213.4 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3286, allocations: 6.5 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3286, allocations: 0 / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3286, allocations: 0 / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.3288, allocations: 35.95 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3288, allocations: 0 / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.329, allocations: 27.97 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.329, allocations: 0 / 1.289 GB, free: 6.199 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.0001209/0.3291, allocations: 141.6 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.3291, allocations: 11.91 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.3292, allocations: 24.33 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3292, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3292, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3292, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.3295, allocations: 161.2 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3295, allocations: 0 / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.3297, allocations: 39.95 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3297, allocations: 3.938 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3297, allocations: 8 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.3297, allocations: 4 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3297, allocations: 0 / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/0.3303, allocations: 390.6 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.3303, allocations: 7.953 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3304, allocations: 4 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.3306, allocations: 19.97 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.3306, allocations: 15.97 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.3306, allocations: 4 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001029/0.3307, allocations: 122.8 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3307, allocations: 0 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002751/0.331, allocations: 16 kB / 1.29 GB, free: 5.188 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.0001264/0.3311, allocations: 101.6 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005751/0.3317, allocations: 176 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3317, allocations: 4 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.332, allocations: 91.94 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3323, allocations: 17.66 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.3329, allocations: 280.9 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.333, allocations: 100.2 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.3331, allocations: 11.44 kB / 1.291 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3331, allocations: 4 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of Templates: time 0.003422/0.3365, allocations: 1.528 MB / 1.292 GB, free: 2.836 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 -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/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: 11.351888303179294]