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.001665/0.001665, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002494/0.002494, allocations: 211.1 kB / 23 MB, free: 4.934 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.551/1.551, 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 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 3.377/3.377, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.002106/0.002106, allocations: 72.52 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4243, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002153/0.4264, allocations: 0.7508 MB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.4276, allocations: 0.8588 MB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.4276, allocations: 3.938 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.4279, allocations: 59.84 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.4279, allocations: 35.78 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.428, allocations: 27.91 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.4282, allocations: 91.73 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.4283, allocations: 12 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.4284, allocations: 47.83 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.4286, allocations: 87.77 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.4286, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.4286, allocations: 8 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.794e-05/0.4287, allocations: 35.91 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.529e-05/0.4288, allocations: 43.8 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.429, allocations: 127.4 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.429, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.429, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.429, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 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.0008425/0.4298, allocations: 385.7 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4299, allocations: 12.03 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.4299, allocations: 12.84 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.4301, allocations: 142.3 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.4302, allocations: 8.375 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.4302, allocations: 4.375 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.4306, allocations: 151.8 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4306, allocations: 192 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.4306, allocations: 3.938 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4306, allocations: 4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/0.4312, allocations: 167.8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000827/0.432, allocations: 444.5 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.4324, allocations: 165.1 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.4327, allocations: 89.67 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.4327, allocations: 4 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4328, allocations: 38.55 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.4328, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0009011/0.4337, allocations: 277.4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.4337, allocations: 85.11 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.4339, allocations: 168.4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.4339, allocations: 29.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.434, allocations: 100.1 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.434, allocations: 31.73 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.4341, allocations: 21.72 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4342, allocations: 322.8 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.4345, allocations: 75.92 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.4348, allocations: 93.64 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.4352, allocations: 173.9 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4352, allocations: 3.938 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005388/0.4358, allocations: 209.4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4358, allocations: 15.88 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4358, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4358, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.436, allocations: 39.95 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.436, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.4362, allocations: 35.91 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.4362, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 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.4363, allocations: 130.3 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.4364, allocations: 7.953 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.4364, allocations: 20.33 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4364, allocations: 4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4364, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.4364, allocations: 11.89 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.4365, allocations: 4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.4367, allocations: 27.95 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.4367, allocations: 19.92 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007157/0.4375, allocations: 380 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006507/0.4381, allocations: 457.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002542/0.4384, allocations: 83.92 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001023/0.4385, allocations: 121.2 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of Backend: time 5.51e-07/0.4385, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006872/0.4391, allocations: 170.2 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007392/0.4399, allocations: 0.6551 MB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of Templates: time 0.005121/0.445, allocations: 1.894 MB / 1.336 GB, free: 7.285 MB / 1.029 GB " [Timeout remaining time 300] 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: 9.572727561993815]