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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009743/0.0009743, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001058/0.001058, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.798/2.798, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 19.94 kB / 0.8722 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.8119, allocations: 153.8 MB / 1.022 GB, free: 16 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.0009576/0.8129, allocations: 462.1 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002321/0.8132, allocations: 55.83 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.8133, allocations: 3.938 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.8134, allocations: 11.92 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.165e-05/0.8135, allocations: 15.91 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.8136, allocations: 23.98 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.8139, allocations: 143.6 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.8141, allocations: 127.2 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.691e-05/0.8142, allocations: 35.8 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.83e-05/0.8143, allocations: 47.7 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.8143, allocations: 4 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.8143, allocations: 4 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.8144, allocations: 39.8 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.8144, allocations: 49.58 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.8146, allocations: 171.7 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8146, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8146, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.8146, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 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.0005366/0.8152, allocations: 472.8 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.8152, allocations: 8.562 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.8153, allocations: 23.72 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.8156, allocations: 246.7 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.8156, allocations: 16.38 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.8156, allocations: 19.98 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.8161, allocations: 336.6 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.8162, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.8162, allocations: 8 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.8162, allocations: 16.17 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004617/0.8167, allocations: 274.7 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.8181, allocations: 1.089 MB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.352e-05/0.8182, allocations: 169.1 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.8182, allocations: 88.08 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.8183, allocations: 75.28 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.8183, allocations: 109.8 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.8183, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001062/0.8184, allocations: 45.42 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.8185, allocations: 134.6 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.8191, allocations: 0.4965 MB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.8191, allocations: 29.7 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.8192, allocations: 175.7 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.8193, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-06/0.8193, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.8194, allocations: 346.8 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/0.8195, allocations: 43.95 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.8196, allocations: 106.8 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.8197, allocations: 59.95 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8197, allocations: 0 / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003116/0.8201, allocations: 193.1 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.8201, allocations: 4 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.8201, allocations: 11.98 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.8201, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.8203, allocations: 19.98 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.8203, allocations: 7.938 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-05/0.8204, allocations: 39.92 kB / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.8204, allocations: 11.94 kB / 1.028 GB, free: 9.953 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001824/0.8206, allocations: 249 kB / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.8207, allocations: 128.6 kB / 1.028 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.967e-05/0.8208, allocations: 142.8 kB / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.819e-05/0.8209, allocations: 180.3 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.574e-05/0.821, allocations: 188.2 kB / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.345e-05/0.821, allocations: 176.3 kB / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.8214, allocations: 493.1 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.144e-05/0.8215, allocations: 104.9 kB / 1.03 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.199e-05/0.8216, allocations: 105 kB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-05/0.8216, allocations: 184.2 kB / 1.03 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/0.8217, allocations: 184.3 kB / 1.03 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.273e-05/0.8218, allocations: 176.3 kB / 1.03 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.446e-05/0.8219, allocations: 184.2 kB / 1.03 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.8221, allocations: 331.4 kB / 1.031 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.8223, allocations: 229.8 kB / 1.031 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.8224, allocations: 180.2 kB / 1.031 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.8225, allocations: 105 kB / 1.031 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.634e-05/0.8226, allocations: 188.5 kB / 1.031 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.8227, allocations: 104.9 kB / 1.032 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004069/0.8231, allocations: 367 kB / 1.032 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8231, allocations: 0 / 1.032 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002884/0.8234, allocations: 32 kB / 1.032 GB, free: 5.785 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001997/0.8236, allocations: 178.5 kB / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.8237, allocations: 67.92 kB / 1.032 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8237, allocations: 0 / 1.032 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.8237, allocations: 4 kB / 1.032 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.8243, allocations: 0.5537 MB / 1.033 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.8251, allocations: 492.8 kB / 1.033 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.8254, allocations: 0.7791 MB / 1.034 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.525e-05/0.8255, allocations: 45.53 kB / 1.034 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.8255, allocations: 19.44 kB / 1.034 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.8255, allocations: 0 / 1.034 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of Templates: time 0.0043/0.8298, allocations: 1.585 MB / 1.036 GB, free: 2.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=480 -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