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.001447/0.001447, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.001619/0.001619, allocations: 156.9 kB / 23.01 MB, free: 4.961 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.555/1.555, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.873/2.873, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002374/0.002374, allocations: 67.89 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8926/0.8949, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001764/0.8967, allocations: 0.7451 MB / 1.155 GB, free: 32.87 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007636/0.8975, allocations: 0.8526 MB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.8975, allocations: 0 / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.8977, allocations: 59.08 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.8978, allocations: 36.27 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 7.76e-05/0.8978, allocations: 20.72 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.898, allocations: 103.7 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.8981, allocations: 16.31 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.856e-05/0.8982, allocations: 45.8 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.8983, allocations: 80.8 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.8983, allocations: 7.781 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.958e-05/0.8983, allocations: 8.188 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.8984, allocations: 37.34 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.8985, allocations: 37.7 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.8986, allocations: 118.5 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8986, allocations: 0 / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8986, allocations: 7.938 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.8986, allocations: 0 / 1.156 GB, free: 32.02 MB / 1.076 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.0007229/0.8993, allocations: 388 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8994, allocations: 8.188 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.8994, allocations: 22.05 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.8996, allocations: 142.4 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.8996, allocations: 11.25 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.8996, allocations: 3 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.9, allocations: 154.3 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.9001, allocations: 4.125 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.9001, allocations: 3.938 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.9001, allocations: 2.531 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.9006, allocations: 171 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007306/0.9013, allocations: 437.6 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.9017, allocations: 168.8 kB / 1.158 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.9019, allocations: 87.95 kB / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.9019, allocations: 2.844 kB / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.902, allocations: 41.34 kB / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.902, allocations: 0 / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0008596/0.9028, allocations: 279.8 kB / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.9029, allocations: 81.11 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.903, allocations: 165.9 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.903, allocations: 28.67 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.903, allocations: 102.2 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.903, allocations: 33.11 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.9031, allocations: 23.5 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.9032, allocations: 320.9 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.9034, allocations: 75.86 kB / 1.159 GB, free: 30.15 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.9036, allocations: 97.61 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.9041, allocations: 179.1 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.9041, allocations: 3.938 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004904/0.9045, allocations: 199.9 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.9046, allocations: 9.5 kB / 1.159 GB, free: 29.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.9046, allocations: 0 / 1.159 GB, free: 29.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.9046, allocations: 0 / 1.159 GB, free: 29.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.9048, allocations: 43.94 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.9048, allocations: 2.719 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.9049, allocations: 29.91 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.9049, allocations: 2.75 kB / 1.159 GB, free: 29.98 MB / 1.076 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 6.826e-05/0.905, allocations: 136.2 kB / 1.159 GB, free: 29.85 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.905, allocations: 9.516 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.9051, allocations: 21.36 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.9051, allocations: 0 / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9051, allocations: 0 / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.9051, allocations: 3.344 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.9053, allocations: 160 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9053, allocations: 0 / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.9054, allocations: 32.84 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9055, allocations: 7 kB / 1.16 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.9055, allocations: 4 kB / 1.16 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.9055, allocations: 3.938 kB / 1.16 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9055, allocations: 6.969 kB / 1.16 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.906, allocations: 379.5 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.906, allocations: 6.672 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.906, allocations: 13.73 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.9062, allocations: 24.36 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.9063, allocations: 10.34 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.9063, allocations: 3.062 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.762e-05/0.9063, allocations: 117.1 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9063, allocations: 2.75 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002721/0.9066, allocations: 19.78 kB / 1.16 GB, free: 29.31 MB / 1.076 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.0001241/0.9067, allocations: 101.2 kB / 1.16 GB, free: 29.22 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005292/0.9073, allocations: 171.8 kB / 1.16 GB, free: 29.19 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9073, allocations: 0 / 1.16 GB, free: 29.19 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.9075, allocations: 84.44 kB / 1.161 GB, free: 29.18 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.9079, allocations: 24.7 kB / 1.161 GB, free: 29.16 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.9083, allocations: 262.9 kB / 1.161 GB, free: 28.98 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.418e-05/0.9084, allocations: 96.36 kB / 1.161 GB, free: 28.9 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.423e-05/0.9085, allocations: 26.61 kB / 1.161 GB, free: 28.9 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.9085, allocations: 18.16 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.9085, allocations: 3.938 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of Templates: time 0.004384/0.9129, allocations: 1.231 MB / 1.162 GB, free: 28.74 MB / 1.076 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 -s ida -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.145754919969477]