Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001303/0.001303, allocations: 100 kB / 15.05 MB, free: 1.105 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.001504/0.001504, allocations: 177.3 kB / 15.95 MB, free: 216 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.479/1.479, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004133, allocations: 12 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8277/0.8282, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001171/0.8294, allocations: 470 kB / 1.021 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002701/0.8297, allocations: 55.81 kB / 1.021 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.8298, allocations: 7.938 kB / 1.021 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.8299, allocations: 15.94 kB / 1.021 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.328e-05/0.83, allocations: 15.97 kB / 1.021 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.8302, allocations: 15.98 kB / 1.021 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.8304, allocations: 83.78 kB / 1.021 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.8306, allocations: 131.2 kB / 1.022 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.739e-05/0.8307, allocations: 31.88 kB / 1.022 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.622e-05/0.8308, allocations: 43.7 kB / 1.022 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.8308, allocations: 4 kB / 1.022 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.8308, allocations: 4 kB / 1.022 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.8309, allocations: 35.86 kB / 1.022 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.8309, allocations: 49.58 kB / 1.022 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.8311, allocations: 175.6 kB / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8311, allocations: 0 / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.55e-06/0.8312, allocations: 4 kB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.8312, allocations: 4 kB / 1.022 GB, free: 15.96 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.0006683/0.8318, allocations: 460.9 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.8319, allocations: 11.97 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.8319, allocations: 23.72 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.8323, allocations: 250.7 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.8323, allocations: 8.375 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.8324, allocations: 16 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.8329, allocations: 344.3 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.833, allocations: 7.938 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.833, allocations: 7.984 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.833, allocations: 20.11 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003827/0.8334, allocations: 271.3 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.8348, allocations: 1.089 MB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.1e-05/0.8349, allocations: 169.1 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.8349, allocations: 75.28 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/0.835, allocations: 105.8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.835, allocations: 4 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001015/0.8351, allocations: 49.42 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.8352, allocations: 130.7 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005914/0.8358, allocations: 0.4926 MB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.8358, allocations: 25.7 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.836, allocations: 175.7 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-06/0.836, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.836, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.8362, allocations: 346.8 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.8363, allocations: 59.84 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.8364, allocations: 94.83 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.8366, allocations: 63.95 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8366, allocations: 0 / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003668/0.837, allocations: 193.1 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.837, allocations: 4 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.837, allocations: 0 / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.837, allocations: 4.25 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.8372, allocations: 23.98 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.8372, allocations: 7.938 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.8373, allocations: 31.69 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.8373, allocations: 8 kB / 1.026 GB, free: 11.19 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.0002544/0.8376, allocations: 249 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.8377, allocations: 132.6 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.8378, allocations: 130.8 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001161/0.838, allocations: 184.3 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001081/0.8381, allocations: 188.2 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/0.8382, allocations: 180.2 kB / 1.027 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.8386, allocations: 497 kB / 1.028 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.624e-05/0.8387, allocations: 105 kB / 1.028 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.8388, allocations: 109 kB / 1.028 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.8389, allocations: 188.2 kB / 1.028 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.839, allocations: 180.3 kB / 1.028 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.124e-05/0.8391, allocations: 180.2 kB / 1.029 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-05/0.8392, allocations: 176.3 kB / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.8394, allocations: 339.4 kB / 1.029 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.8396, allocations: 225.8 kB / 1.029 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.8398, allocations: 184.2 kB / 1.029 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.8399, allocations: 109.3 kB / 1.03 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.84, allocations: 176.3 kB / 1.03 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-05/0.8401, allocations: 108.9 kB / 1.03 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004286/0.8405, allocations: 367 kB / 1.03 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8405, allocations: 0 / 1.03 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000277/0.8408, allocations: 28 kB / 1.03 GB, free: 7.016 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.0003029/0.8411, allocations: 174.5 kB / 1.03 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.8413, allocations: 72.25 kB / 1.03 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.8413, allocations: 4.188 kB / 1.03 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.743e-06/0.8413, allocations: 4 kB / 1.03 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.842, allocations: 0.551 MB / 1.031 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007721/0.8428, allocations: 492.9 kB / 1.031 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.8432, allocations: 0.7791 MB / 1.032 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.232e-05/0.8433, allocations: 53.52 kB / 1.032 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.8433, allocations: 15.44 kB / 1.032 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.8433, allocations: 3.938 kB / 1.032 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of Templates: time 0.004631/0.848, allocations: 1.571 MB / 1.034 GB, free: 3.242 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches