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.001144/0.001144, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0009284/0.0009284, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.8635/0.8635, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.63/1.63, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.395e-06/2.395e-06, allocations: 0 / 0.9518 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.949e-05, allocations: 5.234 kB / 0.9518 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001313/0.001342, allocations: 0.7543 MB / 0.9525 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008524/0.002195, allocations: 0.851 MB / 0.9534 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.002265, allocations: 4 kB / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.002447, allocations: 59.72 kB / 0.9534 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.002492, allocations: 35.78 kB / 0.9535 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 7.528e-05/0.002567, allocations: 19.97 kB / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.002674, allocations: 91.73 kB / 0.9536 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.002789, allocations: 15.98 kB / 0.9536 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.23e-05/0.002861, allocations: 55.88 kB / 0.9536 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.002975, allocations: 75.84 kB / 0.9537 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.003002, allocations: 8 kB / 0.9537 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.003013, allocations: 12 kB / 0.9537 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.003069, allocations: 39.89 kB / 0.9538 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.0031, allocations: 23.92 kB / 0.9538 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.003226, allocations: 127.5 kB / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003228, allocations: 0 / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003229, allocations: 0 / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.003233, allocations: 0 / 0.9539 GB, free: 0.7188 MB / 0.9011 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.0004972/0.00373, allocations: 389.7 kB / 0.9543 GB, free: 312 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.003764, allocations: 11.97 kB / 0.9543 GB, free: 300 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.003798, allocations: 16.84 kB / 0.9543 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.003935, allocations: 149.5 kB / 0.9545 GB, free: 108 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.003945, allocations: 4.375 kB / 0.9545 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.003957, allocations: 8.375 kB / 0.9545 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.004208, allocations: 152 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004216, allocations: 4.188 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.004227, allocations: 384 / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.004233, allocations: 4.359 kB / 0.9546 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.004507, allocations: 171.7 kB / 0.9548 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.004987, allocations: 440.5 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.005219, allocations: 161.1 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.005353, allocations: 93.72 kB / 0.9554 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.005366, allocations: 0 / 0.9554 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.005386, allocations: 42.5 kB / 0.9555 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.005387, allocations: 3.938 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0004856/0.005872, allocations: 277.4 kB / 0.9558 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.005905, allocations: 85.05 kB / 0.9558 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.006013, allocations: 166 kB / 0.956 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.006027, allocations: 29.7 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.00607, allocations: 104.1 kB / 0.9561 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.006096, allocations: 27.75 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.006129, allocations: 17.72 kB / 0.9562 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.00623, allocations: 322.8 kB / 0.9565 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.006352, allocations: 79.86 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.006481, allocations: 93.64 kB / 0.9566 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.00672, allocations: 173.9 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006721, allocations: 0 / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000274/0.006995, allocations: 213.4 kB / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.007006, allocations: 4 kB / 0.957 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.007011, allocations: 0 / 0.957 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.007022, allocations: 4 kB / 0.957 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.007132, allocations: 35.95 kB / 0.9571 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.007138, allocations: 7.938 kB / 0.9571 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.007201, allocations: 31.91 kB / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.007208, allocations: 4 kB / 0.9571 GB, free: 13.25 MB / 0.9167 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.000126/0.007334, allocations: 121.8 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.007364, allocations: 19.88 kB / 0.9572 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.007391, allocations: 16.34 kB / 0.9572 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.007392, allocations: 0 / 0.9572 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.007396, allocations: 0 / 0.9572 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.007399, allocations: 8 kB / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.007549, allocations: 161.2 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.007551, allocations: 4 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/0.007625, allocations: 35.89 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.007627, allocations: 4 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.007636, allocations: 3.938 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.007637, allocations: 0 / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007637, allocations: 0 / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.007956, allocations: 383.2 kB / 0.9578 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.007967, allocations: 11.91 kB / 0.9578 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.00798, allocations: 7.938 kB / 0.9578 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.008073, allocations: 27.95 kB / 0.9579 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.008118, allocations: 11.98 kB / 0.9579 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.008123, allocations: 0 / 0.9579 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.638e-05/0.008179, allocations: 129 kB / 0.958 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.008179, allocations: 0 / 0.958 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001787/0.008358, allocations: 16 kB / 0.958 GB, free: 12.25 MB / 0.9167 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 7.208e-05/0.00843, allocations: 95.25 kB / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002926/0.008723, allocations: 175.8 kB / 0.9583 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.008724, allocations: 3.938 kB / 0.9583 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.008856, allocations: 91.86 kB / 0.9584 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.009095, allocations: 9.891 kB / 0.9584 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.009469, allocations: 284.5 kB / 0.9586 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.564e-05/0.009535, allocations: 100.3 kB / 0.9587 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.00958, allocations: 12.5 kB / 0.9587 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.00958, allocations: 0 / 0.9587 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.002075/0.01166, allocations: 1.552 MB / 0.9603 GB, free: 9.883 MB / 0.9167 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: 6.519446719437838]