Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002204/0.002204, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 194.5 kB / 16.14 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.92/2.92, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.91 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7868, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002127/0.7889, allocations: 0.8094 MB / 1.017 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002499/0.7892, allocations: 55.81 kB / 1.017 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.7893, allocations: 4 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.7895, allocations: 15.86 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.125e-05/0.7895, allocations: 19.91 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.7897, allocations: 23.97 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.7899, allocations: 115.7 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.7902, allocations: 156.5 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.7903, allocations: 51.8 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.7904, allocations: 79.56 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.7904, allocations: 8 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.761e-05/0.7904, allocations: 12 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.27e-05/0.7905, allocations: 47.84 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.329e-05/0.7906, allocations: 75.42 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.7909, allocations: 223.3 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7909, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.81e-07/0.7909, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7909, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006059/0.7915, allocations: 497 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7916, allocations: 8.031 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.7916, allocations: 28.59 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.7919, allocations: 267.8 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.7919, allocations: 8.75 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.792, allocations: 24.31 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.7925, allocations: 345.2 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.7925, allocations: 3.938 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.7926, allocations: 8 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.7926, allocations: 12 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.793, allocations: 277.7 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.7942, allocations: 1.08 MB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.796e-05/0.7944, allocations: 169.1 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.7944, allocations: 84.14 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.7944, allocations: 75.28 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.7945, allocations: 118 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.7945, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001041/0.7946, allocations: 53.34 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.7947, allocations: 130.7 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.7953, allocations: 0.4964 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.7953, allocations: 25.7 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.7954, allocations: 175.8 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.7954, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.7955, allocations: 33.61 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.7957, allocations: 338.8 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.446e-05/0.7958, allocations: 47.97 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.7959, allocations: 110.8 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.7961, allocations: 114.8 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-06/0.7961, allocations: 4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003238/0.7964, allocations: 193.1 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.7964, allocations: 12.12 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.7964, allocations: 8 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.7965, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.7966, allocations: 23.98 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.7966, allocations: 7.938 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.7967, allocations: 31.69 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.7967, allocations: 7.984 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0001901/0.7969, allocations: 249 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/0.797, allocations: 132.6 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.685e-05/0.7971, allocations: 138.8 kB / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.633e-05/0.7972, allocations: 184.3 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.429e-05/0.7973, allocations: 180.2 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.984e-05/0.7974, allocations: 180.2 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.7977, allocations: 493 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-05/0.7978, allocations: 105 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.7978, allocations: 105 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.96e-05/0.7979, allocations: 188.1 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-05/0.798, allocations: 176.3 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.523e-05/0.7981, allocations: 184.2 kB / 1.025 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.268e-05/0.7982, allocations: 180.3 kB / 1.025 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.7984, allocations: 331.4 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.7985, allocations: 217.9 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/0.7986, allocations: 184.1 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.7987, allocations: 109.3 kB / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.7988, allocations: 184.2 kB / 1.026 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.7989, allocations: 109 kB / 1.026 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003964/0.7993, allocations: 363 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7993, allocations: 0 / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000269/0.7996, allocations: 28 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001746/0.7997, allocations: 179 kB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.7999, allocations: 71.89 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7999, allocations: 0 / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.7999, allocations: 0 / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.8006, allocations: 0.5487 MB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.8013, allocations: 0.5129 MB / 1.028 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.8017, allocations: 0.7752 MB / 1.029 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.096e-05/0.8018, allocations: 49.52 kB / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.8018, allocations: 19.44 kB / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of SimCode: time 3.9e-07/0.8018, allocations: 4 kB / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.005043/0.8069, allocations: 1.672 MB / 1.031 GB, free: 4.012 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches