Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001605/0.001605, allocations: 115.9 kB / 17.13 MB, free: 6.008 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.001711/0.001711, allocations: 213.5 kB / 20.1 MB, free: 3.059 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.962/2.962, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002007/0.002007, allocations: 82.22 kB / 1.15 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8519/0.8539, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001659/0.8555, allocations: 0.7636 MB / 1.323 GB, free: 24.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007216/0.8563, allocations: 0.8642 MB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.8563, allocations: 2.844 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.8565, allocations: 52.19 kB / 1.324 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.8565, allocations: 44.72 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.2e-05/0.8566, allocations: 21.47 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.8567, allocations: 89.19 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.8568, allocations: 23.78 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.853e-05/0.8569, allocations: 37.95 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.857, allocations: 86.8 kB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.8571, allocations: 8.5 kB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.8571, allocations: 7.594 kB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.8571, allocations: 43.2 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.8572, allocations: 43.83 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.8573, allocations: 119.8 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8573, allocations: 0 / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8573, allocations: 0 / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.8573, allocations: 3.938 kB / 1.324 GB, free: 23.64 MB / 1.061 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.0006701/0.858, allocations: 469.6 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.858, allocations: 14.69 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.8581, allocations: 14.53 kB / 1.325 GB, free: 23.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.8582, allocations: 202.2 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.8582, allocations: 6.969 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.8582, allocations: 3.562 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.8586, allocations: 159.9 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.8586, allocations: 192 / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.8586, allocations: 3.938 kB / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8586, allocations: 2.594 kB / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.8591, allocations: 171.6 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.8599, allocations: 0.5048 MB / 1.326 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.8602, allocations: 157.7 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.8605, allocations: 96.27 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.8605, allocations: 0 / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.8605, allocations: 33.44 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.8605, allocations: 4 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0008472/0.8614, allocations: 281.8 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.8614, allocations: 81.11 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.8615, allocations: 159.8 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.8615, allocations: 25.7 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.8615, allocations: 109.3 kB / 1.327 GB, free: 21.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.8616, allocations: 29.92 kB / 1.327 GB, free: 21.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.8616, allocations: 19.84 kB / 1.327 GB, free: 21.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.8616, allocations: 328 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.8619, allocations: 78.03 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.8622, allocations: 88.64 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.8627, allocations: 181.4 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8627, allocations: 4 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005606/0.8632, allocations: 199.2 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.8633, allocations: 9.094 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8633, allocations: 4.969 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.8633, allocations: 0.9375 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.8635, allocations: 35.84 kB / 1.328 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.8635, allocations: 1.656 kB / 1.328 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.8637, allocations: 35.56 kB / 1.328 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.8637, allocations: 1.688 kB / 1.328 GB, free: 21.37 MB / 1.061 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 7.526e-05/0.8637, allocations: 132.7 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.8638, allocations: 9.672 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.8638, allocations: 20.69 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8638, allocations: 3.969 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8638, allocations: 0.9062 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8639, allocations: 1.219 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.8641, allocations: 230.6 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8641, allocations: 1 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.8643, allocations: 36.94 kB / 1.328 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8643, allocations: 7.938 kB / 1.328 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.8643, allocations: 1.562 kB / 1.328 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8643, allocations: 0.75 kB / 1.328 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.8643, allocations: 0.9375 kB / 1.328 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.8649, allocations: 388.5 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.8649, allocations: 84.09 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.8649, allocations: 1.219 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.8652, allocations: 28.02 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.8652, allocations: 6.672 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.8652, allocations: 6.125 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.685e-05/0.8653, allocations: 126.8 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8653, allocations: 5.594 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002844/0.8656, allocations: 22.39 kB / 1.329 GB, free: 20.53 MB / 1.061 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.0001258/0.8657, allocations: 98.41 kB / 1.329 GB, free: 20.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005897/0.8663, allocations: 176.2 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8663, allocations: 0.5 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.8666, allocations: 87.7 kB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.8669, allocations: 12.75 kB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.8674, allocations: 290.1 kB / 1.329 GB, free: 20.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.8676, allocations: 0.7114 MB / 1.33 GB, free: 19.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.8676, allocations: 15.75 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.8676, allocations: 0 / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of Templates: time 0.003376/0.871, allocations: 1.499 MB / 1.331 GB, free: 19.35 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.670736969012069]