Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001726/0.001726, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.002266/0.002266, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.539/1.539, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.736/2.736, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.88 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 160.8 MB / 1.219 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002274/1.021, allocations: 0.7722 MB / 1.219 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001411/1.023, allocations: 0.8391 MB / 1.22 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/1.023, allocations: 4 kB / 1.22 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002244/1.023, allocations: 55.81 kB / 1.22 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/1.023, allocations: 35.81 kB / 1.22 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.943e-05/1.023, allocations: 19.98 kB / 1.22 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/1.023, allocations: 87.69 kB / 1.22 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/1.023, allocations: 27.91 kB / 1.22 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/1.024, allocations: 39.84 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/1.024, allocations: 87.77 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/1.024, allocations: 8 kB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.682e-05/1.024, allocations: 12 kB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.845e-05/1.024, allocations: 39.89 kB / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/1.024, allocations: 43.73 kB / 1.221 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/1.024, allocations: 121.8 kB / 1.221 GB, free: 2.23 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.024, allocations: 0 / 1.221 GB, free: 2.23 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.813e-06/1.024, allocations: 0 / 1.221 GB, free: 2.23 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.142e-06/1.024, allocations: 0 / 1.221 GB, free: 2.23 MB / 0.92 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.0009096/1.025, allocations: 470.8 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.025, allocations: 8.031 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/1.025, allocations: 16.84 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/1.025, allocations: 203.6 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/1.025, allocations: 8.375 kB / 1.221 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/1.025, allocations: 4.375 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/1.026, allocations: 155.8 kB / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.026, allocations: 4.172 kB / 1.221 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/1.026, allocations: 7.875 kB / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.026, allocations: 4 kB / 1.221 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/1.026, allocations: 171.8 kB / 1.222 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/1.028, allocations: 0.493 MB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/1.028, allocations: 165.1 kB / 1.222 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/1.028, allocations: 93.67 kB / 1.222 GB, free: 284 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/1.028, allocations: 4 kB / 1.222 GB, free: 280 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/1.028, allocations: 34.56 kB / 1.222 GB, free: 236 kB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/1.028, allocations: 0 / 1.222 GB, free: 236 kB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0009242/1.029, allocations: 289.3 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/1.029, allocations: 81.11 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/1.029, allocations: 162.2 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/1.029, allocations: 25.7 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/1.03, allocations: 100.1 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/1.03, allocations: 27.75 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/1.03, allocations: 25.7 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002846/1.03, allocations: 330.8 kB / 1.223 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/1.03, allocations: 79.92 kB / 1.223 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/1.03, allocations: 85.64 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/1.031, allocations: 177.5 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.031, allocations: 0 / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005531/1.031, allocations: 213.8 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/1.032, allocations: 11.98 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.032, allocations: 0 / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.032, allocations: 0 / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/1.032, allocations: 31.97 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.032, allocations: 3.984 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/1.032, allocations: 27.91 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/1.032, allocations: 4 kB / 1.224 GB, free: 14.51 MB / 0.9356 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.0001393/1.032, allocations: 141.7 kB / 1.224 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/1.032, allocations: 7.953 kB / 1.224 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/1.032, allocations: 20.33 kB / 1.224 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.032, allocations: 0 / 1.224 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.032, allocations: 7.984 kB / 1.224 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.032, allocations: 0 / 1.224 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/1.033, allocations: 233.5 kB / 1.224 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.033, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/1.033, allocations: 43.89 kB / 1.224 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.033, allocations: 0 / 1.224 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/1.033, allocations: 0 / 1.224 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.033, allocations: 4 kB / 1.224 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.033, allocations: 0 / 1.224 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/1.033, allocations: 378.5 kB / 1.225 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.674e-05/1.033, allocations: 89.02 kB / 1.225 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/1.033, allocations: 7.984 kB / 1.225 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/1.034, allocations: 19.97 kB / 1.225 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/1.034, allocations: 15.92 kB / 1.225 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/1.034, allocations: 0 / 1.225 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001011/1.034, allocations: 129.2 kB / 1.225 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/1.034, allocations: 0 / 1.225 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002704/1.034, allocations: 16 kB / 1.225 GB, free: 13.32 MB / 0.9356 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.000153/1.034, allocations: 107.2 kB / 1.225 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005624/1.035, allocations: 171.7 kB / 1.225 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.035, allocations: 0 / 1.225 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/1.035, allocations: 83.92 kB / 1.225 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/1.035, allocations: 18.05 kB / 1.225 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006159/1.036, allocations: 263 kB / 1.226 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/1.036, allocations: 0.7118 MB / 1.226 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.934e-05/1.037, allocations: 27.97 kB / 1.226 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/1.037, allocations: 11.44 kB / 1.226 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/1.037, allocations: 0 / 1.226 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of Templates: time 0.004393/1.041, allocations: 1.258 MB / 1.228 GB, free: 10.63 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.15355678461492]