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.002456/0.002456, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.00304/0.00304, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.64/1.64, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.188/3.188, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.59e-05, allocations: 7 kB / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002033/0.002069, allocations: 0.7699 MB / 0.8116 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.003346, allocations: 0.847 MB / 0.8125 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.003406, allocations: 4.656 kB / 0.8125 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.003647, allocations: 60.66 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.641e-05/0.003723, allocations: 35.78 kB / 0.8126 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.901e-05/0.003812, allocations: 20.75 kB / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.003967, allocations: 91.73 kB / 0.8127 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.004099, allocations: 17.62 kB / 0.8127 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.004215, allocations: 59.86 kB / 0.8127 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.004383, allocations: 75.84 kB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.004414, allocations: 9.531 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.185e-05/0.004436, allocations: 8 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.004516, allocations: 39.89 kB / 0.8129 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.004571, allocations: 23.92 kB / 0.8129 GB, free: 0 / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.004791, allocations: 128.8 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.004795, allocations: 0 / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.683e-06/0.004796, allocations: 0 / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.004801, allocations: 1.594 kB / 0.813 GB, free: 15.87 MB / 0.7761 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.000783/0.005584, allocations: 475.7 kB / 0.8135 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.005624, allocations: 8.562 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.005687, allocations: 17.59 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.005939, allocations: 160.3 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.005952, allocations: 4.906 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.005966, allocations: 384 / 0.8137 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.006274, allocations: 119.1 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.006284, allocations: 192 / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.006297, allocations: 384 / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.006302, allocations: 1 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.006626, allocations: 80.56 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/0.007467, allocations: 0.4884 MB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.007795, allocations: 107.5 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.007972, allocations: 59.38 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.007991, allocations: 1.75 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.008032, allocations: 41.33 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.008033, allocations: 0 / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0006082/0.008641, allocations: 155.7 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.008721, allocations: 81.11 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.008945, allocations: 228.3 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.00897, allocations: 25.7 kB / 0.815 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.009088, allocations: 158 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.009131, allocations: 27.75 kB / 0.8152 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.009189, allocations: 23.38 kB / 0.8152 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000298/0.009487, allocations: 0.5001 MB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.00964, allocations: 31.97 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.009797, allocations: 55.34 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.01008, allocations: 92.88 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01009, allocations: 0 / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003558/0.01044, allocations: 130.6 kB / 0.816 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.01046, allocations: 4.844 kB / 0.816 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.01046, allocations: 3.938 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.01048, allocations: 1.094 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.01066, allocations: 27.97 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01066, allocations: 0 / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.709e-05/0.01076, allocations: 22.41 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.01077, allocations: 0 / 0.816 GB, free: 12.55 MB / 0.7761 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.0001379/0.01091, allocations: 164.5 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.01097, allocations: 23.84 kB / 0.8162 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.01102, allocations: 16.34 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01102, allocations: 0.8125 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.01103, allocations: 3.984 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01103, allocations: 0.9375 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.01131, allocations: 168.6 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01131, allocations: 3.938 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.01145, allocations: 29.19 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.01145, allocations: 4 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.01147, allocations: 4.781 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01147, allocations: 0 / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01147, allocations: 0 / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.01199, allocations: 385.1 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.01201, allocations: 11.91 kB / 0.8168 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.01204, allocations: 11.88 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.01219, allocations: 20.97 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.01226, allocations: 11.98 kB / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.01227, allocations: 1.125 kB / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001301/0.0124, allocations: 163.2 kB / 0.817 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0124, allocations: 0 / 0.817 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002631/0.01266, allocations: 17.12 kB / 0.817 GB, free: 11.47 MB / 0.7761 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.0004415/0.0131, allocations: 91.25 kB / 0.8171 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003823/0.01349, allocations: 97.25 kB / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01349, allocations: 0 / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.01366, allocations: 57.34 kB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.01401, allocations: 21.23 kB / 0.8173 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.01457, allocations: 243.4 kB / 0.8175 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.0147, allocations: 105.2 kB / 0.8176 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.533e-05/0.01478, allocations: 16.62 kB / 0.8176 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.01483, allocations: 15.69 kB / 0.8176 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01483, allocations: 0 / 0.8176 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.004719/0.01955, allocations: 1.251 MB / 0.8189 GB, free: 9.543 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.406831966014579]