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.0019/0.0019, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002481/0.002481, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.613/1.613, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 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.448/3.448, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.418e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00298/0.003015, allocations: 0.7751 MB / 0.8783 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.004754, allocations: 0.8562 MB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.004828, allocations: 5.094 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.005097, allocations: 51.8 kB / 0.8792 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.005214, allocations: 38.02 kB / 0.8792 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.005328, allocations: 27.95 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.005534, allocations: 87.69 kB / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.005679, allocations: 15.94 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.005851, allocations: 59.86 kB / 0.8794 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.006084, allocations: 76.78 kB / 0.8795 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.00613, allocations: 8 kB / 0.8795 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.034e-05/0.006161, allocations: 8 kB / 0.8795 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.006271, allocations: 40.92 kB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.006345, allocations: 23.92 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.00661, allocations: 116.8 kB / 0.8796 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.006613, allocations: 3.938 kB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/0.006615, allocations: 0 / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.00662, allocations: 1.125 kB / 0.8796 GB, free: 4.449 MB / 0.8386 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.001163/0.007783, allocations: 484.7 kB / 0.8801 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.007829, allocations: 8.031 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.123e-05/0.00792, allocations: 21.56 kB / 0.8801 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.008226, allocations: 152.4 kB / 0.8803 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.008245, allocations: 5.844 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.008269, allocations: 4.375 kB / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.008713, allocations: 105.6 kB / 0.8804 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.008726, allocations: 0.7812 kB / 0.8804 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.008749, allocations: 12.25 kB / 0.8804 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.008754, allocations: 1.75 kB / 0.8804 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.009269, allocations: 80.48 kB / 0.8805 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.01045, allocations: 0.4954 MB / 0.881 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.01093, allocations: 111.2 kB / 0.8811 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.01119, allocations: 48.77 kB / 0.8811 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.01121, allocations: 0 / 0.8811 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.01127, allocations: 49.25 kB / 0.8812 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.01127, allocations: 3.438 kB / 0.8812 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000954/0.01223, allocations: 149.5 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.01231, allocations: 77.11 kB / 0.8814 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.01264, allocations: 233.8 kB / 0.8816 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.01267, allocations: 25.7 kB / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.01283, allocations: 154.8 kB / 0.8818 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/0.01289, allocations: 32.77 kB / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.01298, allocations: 27.38 kB / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003855/0.01337, allocations: 0.5001 MB / 0.8823 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.01361, allocations: 33.72 kB / 0.8824 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.01386, allocations: 59.33 kB / 0.8824 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.01432, allocations: 91.27 kB / 0.8825 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01432, allocations: 0 / 0.8825 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005824/0.01491, allocations: 117.5 kB / 0.8826 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.01493, allocations: 4 kB / 0.8826 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01493, allocations: 0 / 0.8826 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.01495, allocations: 0 / 0.8826 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.0152, allocations: 35.91 kB / 0.8827 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.01521, allocations: 0 / 0.8827 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.01538, allocations: 27.92 kB / 0.8827 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.01539, allocations: 0 / 0.8827 GB, free: 1.098 MB / 0.8386 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.0001358/0.01553, allocations: 164.5 kB / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.01558, allocations: 15.89 kB / 0.8829 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.01564, allocations: 16.34 kB / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01565, allocations: 0 / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.01565, allocations: 0 / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01566, allocations: 3.984 kB / 0.8829 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.01593, allocations: 164.6 kB / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.01594, allocations: 8.406 kB / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.01608, allocations: 27.91 kB / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01608, allocations: 4 kB / 0.8831 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.0161, allocations: 7.938 kB / 0.8831 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.0161, allocations: 0 / 0.8831 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.0161, allocations: 0 / 0.8831 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.01678, allocations: 395 kB / 0.8834 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.0168, allocations: 11.95 kB / 0.8835 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.01682, allocations: 3.938 kB / 0.8835 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.01699, allocations: 19.97 kB / 0.8835 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.01705, allocations: 11.98 kB / 0.8835 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.01706, allocations: 0 / 0.8835 GB, free: 196 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001344/0.0172, allocations: 164 kB / 0.8837 GB, free: 32 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.0172, allocations: 0 / 0.8837 GB, free: 32 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002905/0.01749, allocations: 27.89 kB / 0.8837 GB, free: 4 kB / 0.8386 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.0001605/0.01765, allocations: 91.25 kB / 0.8838 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003837/0.01803, allocations: 99.61 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01803, allocations: 0 / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.01823, allocations: 55.59 kB / 0.8839 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.01859, allocations: 19.17 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005796/0.01917, allocations: 238.3 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.01929, allocations: 100.1 kB / 0.8843 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.868e-05/0.01937, allocations: 19.97 kB / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.01943, allocations: 16.5 kB / 0.8843 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01943, allocations: 0 / 0.8843 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.004595/0.02402, allocations: 1.244 MB / 0.8855 GB, free: 14.08 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.68689216999337]