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.001783/0.001783, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001775/0.001775, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.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 3.26/3.26, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002046/0.002046, allocations: 73.91 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3706, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002239/0.3728, allocations: 0.7766 MB / 1.355 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3741, allocations: 0.8587 MB / 1.356 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.3741, allocations: 3.938 kB / 1.356 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.3743, allocations: 59.8 kB / 1.356 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.319e-05/0.3744, allocations: 35.81 kB / 1.356 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.051e-05/0.3745, allocations: 27.97 kB / 1.356 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3746, allocations: 83.77 kB / 1.356 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3748, allocations: 15.98 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.3748, allocations: 43.83 kB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.375, allocations: 83.78 kB / 1.356 GB, free: 5.965 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.375, allocations: 8 kB / 1.356 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.375, allocations: 8 kB / 1.356 GB, free: 5.949 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.3751, allocations: 43.83 kB / 1.356 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.3752, allocations: 43.73 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.3754, allocations: 119.5 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3754, allocations: 4 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3754, allocations: 0 / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3754, allocations: 0 / 1.356 GB, free: 5.742 MB / 1.045 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.0008423/0.3762, allocations: 389.7 kB / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3762, allocations: 12.03 kB / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.3763, allocations: 20.84 kB / 1.357 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.3765, allocations: 150.3 kB / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3765, allocations: 4.375 kB / 1.357 GB, free: 5.121 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3766, allocations: 4.375 kB / 1.357 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.377, allocations: 155.7 kB / 1.357 GB, free: 4.953 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.377, allocations: 4.188 kB / 1.357 GB, free: 4.949 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.377, allocations: 7.938 kB / 1.357 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.377, allocations: 0 / 1.357 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000543/0.3776, allocations: 167.8 kB / 1.357 GB, free: 4.777 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.3785, allocations: 487.8 kB / 1.358 GB, free: 4.254 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.3789, allocations: 153.1 kB / 1.358 GB, free: 4.086 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.3791, allocations: 97.73 kB / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3792, allocations: 0 / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3792, allocations: 34.56 kB / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.3792, allocations: 0 / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.000874/0.3801, allocations: 289.3 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.3801, allocations: 77.11 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3803, allocations: 162.2 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3803, allocations: 29.7 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.3804, allocations: 108.1 kB / 1.359 GB, free: 3.242 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.3804, allocations: 35.72 kB / 1.359 GB, free: 3.207 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.3805, allocations: 21.66 kB / 1.359 GB, free: 3.18 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3807, allocations: 330.7 kB / 1.359 GB, free: 2.848 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.3809, allocations: 75.92 kB / 1.359 GB, free: 2.773 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.3812, allocations: 93.64 kB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/0.3816, allocations: 177.9 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3816, allocations: 4 kB / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005628/0.3822, allocations: 205.4 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3822, allocations: 4 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3822, allocations: 0 / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3822, allocations: 0 / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.3824, allocations: 39.95 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3825, allocations: 0 / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.3826, allocations: 31.92 kB / 1.36 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.3826, allocations: 0 / 1.36 GB, free: 2.211 MB / 1.045 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.0001239/0.3827, allocations: 133.7 kB / 1.36 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.3828, allocations: 7.953 kB / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.3828, allocations: 24.33 kB / 1.36 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3828, allocations: 8 kB / 1.36 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3828, allocations: 0 / 1.36 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3828, allocations: 0 / 1.36 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.3832, allocations: 208.4 kB / 1.36 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3832, allocations: 0 / 1.36 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.3833, allocations: 31.95 kB / 1.36 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.3833, allocations: 4 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3834, allocations: 0 / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3834, allocations: 0 / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3834, allocations: 8 kB / 1.36 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.384, allocations: 382.5 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.384, allocations: 15.91 kB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.384, allocations: 3.938 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.3842, allocations: 27.97 kB / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.3843, allocations: 7.969 kB / 1.36 GB, free: 1.293 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3843, allocations: 4 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001105/0.3844, allocations: 124.1 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3844, allocations: 0 / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002826/0.3847, allocations: 20 kB / 1.36 GB, free: 1.148 MB / 1.045 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.0001429/0.3848, allocations: 99.19 kB / 1.361 GB, free: 1.043 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005753/0.3854, allocations: 167.7 kB / 1.361 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3854, allocations: 0 / 1.361 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.3857, allocations: 95.91 kB / 1.361 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.3862, allocations: 16.17 kB / 1.361 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.3868, allocations: 288.9 kB / 1.361 GB, free: 460 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.3873, allocations: 0.7119 MB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.3873, allocations: 15.44 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.3873, allocations: 4 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of Templates: time 0.00351/0.3908, allocations: 1.499 MB / 1.363 GB, free: 14.21 MB / 1.061 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/jenkins1/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: 11.701818675006507]