Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001737/0.001737, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.002033/0.002033, allocations: 171.9 kB / 22.46 MB, free: 5.355 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.641/1.641, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.993/2.993, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 1 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.486e-05, allocations: 2.281 kB / 1 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002003/0.002037, allocations: 0.7618 MB / 1.001 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003222, allocations: 0.851 MB / 1.002 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.003274, allocations: 4 kB / 1.002 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.003497, allocations: 59.72 kB / 1.002 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.00357, allocations: 35.78 kB / 1.002 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 8.486e-05/0.003655, allocations: 23.95 kB / 1.002 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.003809, allocations: 91.75 kB / 1.002 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.003945, allocations: 12 kB / 1.002 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.004062, allocations: 59.86 kB / 1.002 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.004247, allocations: 79.84 kB / 1.002 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.00428, allocations: 8 kB / 1.002 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.017e-05/0.0043, allocations: 8 kB / 1.002 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.976e-05/0.00438, allocations: 39.89 kB / 1.002 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.004428, allocations: 23.92 kB / 1.002 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.004619, allocations: 131.5 kB / 1.002 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.004622, allocations: 0 / 1.002 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004623, allocations: 0 / 1.002 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.004627, allocations: 0 / 1.002 GB, free: 3.938 MB / 0.9044 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.0008687/0.005495, allocations: 389.8 kB / 1.003 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.005537, allocations: 12.02 kB / 1.003 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.005584, allocations: 16.83 kB / 1.003 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.005793, allocations: 149.5 kB / 1.003 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.005808, allocations: 4.375 kB / 1.003 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.005824, allocations: 4.375 kB / 1.003 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.006273, allocations: 163.7 kB / 1.003 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.006284, allocations: 192 / 1.003 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.006298, allocations: 384 / 1.003 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.006302, allocations: 384 / 1.003 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000638/0.00694, allocations: 171.8 kB / 1.003 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.007772, allocations: 436.6 kB / 1.004 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.008215, allocations: 161.1 kB / 1.004 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.008506, allocations: 93.73 kB / 1.004 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.008523, allocations: 3.938 kB / 1.004 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.008558, allocations: 38.5 kB / 1.004 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.00856, allocations: 0 / 1.004 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.001022/0.009582, allocations: 293.6 kB / 1.004 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.009746, allocations: 77.11 kB / 1.004 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.009899, allocations: 158.3 kB / 1.004 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.009923, allocations: 29.7 kB / 1.004 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.01001, allocations: 104.1 kB / 1.005 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.01005, allocations: 31.73 kB / 1.005 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.0101, allocations: 17.72 kB / 1.005 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.01028, allocations: 322.8 kB / 1.005 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.01055, allocations: 79.92 kB / 1.005 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.01082, allocations: 97.56 kB / 1.005 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/0.01137, allocations: 177.5 kB / 1.005 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01137, allocations: 0 / 1.005 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006094/0.01198, allocations: 209.4 kB / 1.005 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.012, allocations: 4 kB / 1.005 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.012, allocations: 0 / 1.005 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01202, allocations: 4 kB / 1.005 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.01224, allocations: 39.89 kB / 1.005 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01225, allocations: 4 kB / 1.005 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.01239, allocations: 27.97 kB / 1.005 GB, free: 480 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.0124, allocations: 4 kB / 1.005 GB, free: 476 kB / 0.9044 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.0001364/0.01254, allocations: 126.4 kB / 1.006 GB, free: 340 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.01259, allocations: 19.84 kB / 1.006 GB, free: 320 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.814e-05/0.01265, allocations: 20.33 kB / 1.006 GB, free: 292 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01265, allocations: 4 kB / 1.006 GB, free: 288 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01266, allocations: 0 / 1.006 GB, free: 288 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01266, allocations: 4 kB / 1.006 GB, free: 284 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.013, allocations: 153.2 kB / 1.006 GB, free: 100 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.013, allocations: 4 kB / 1.006 GB, free: 96 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.01319, allocations: 35.89 kB / 1.006 GB, free: 60 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.0132, allocations: 4 kB / 1.006 GB, free: 56 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01321, allocations: 3.938 kB / 1.006 GB, free: 52 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01321, allocations: 0 / 1.006 GB, free: 52 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01321, allocations: 0 / 1.006 GB, free: 52 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.01395, allocations: 378.6 kB / 1.006 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.01397, allocations: 11.91 kB / 1.006 GB, free: 15.65 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.01399, allocations: 3.938 kB / 1.006 GB, free: 15.65 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.01419, allocations: 23.97 kB / 1.006 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.01426, allocations: 19.92 kB / 1.006 GB, free: 15.61 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.01427, allocations: 0 / 1.006 GB, free: 15.61 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001243/0.01439, allocations: 136 kB / 1.006 GB, free: 15.47 MB / 0.92 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01439, allocations: 3.938 kB / 1.006 GB, free: 15.47 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002754/0.01467, allocations: 16 kB / 1.006 GB, free: 15.45 MB / 0.92 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.0001512/0.01482, allocations: 95.25 kB / 1.007 GB, free: 15.35 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006113/0.01543, allocations: 168.1 kB / 1.007 GB, free: 15.18 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01543, allocations: 3.938 kB / 1.007 GB, free: 15.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.01573, allocations: 96.02 kB / 1.007 GB, free: 15.09 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.0161, allocations: 12 kB / 1.007 GB, free: 15.07 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/0.0167, allocations: 270.2 kB / 1.007 GB, free: 14.78 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.01683, allocations: 96.91 kB / 1.007 GB, free: 14.66 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.854e-05/0.01692, allocations: 31.95 kB / 1.007 GB, free: 14.63 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.01697, allocations: 12.5 kB / 1.007 GB, free: 14.62 MB / 0.92 GB Notification: Performance of SimCode: time 3.81e-07/0.01697, allocations: 0 / 1.007 GB, free: 14.62 MB / 0.92 GB Notification: Performance of Templates: time 0.004554/0.02153, allocations: 1.238 MB / 1.008 GB, free: 13.4 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.535832174122334]