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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001257/0.001257, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001278/0.001278, allocations: 183 kB / 17.34 MB, free: 5.742 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.528/2.528, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.89 kB / 1.055 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7366/0.7379, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001921/0.7398, allocations: 0.7428 MB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002492/0.7401, allocations: 59.81 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.7402, allocations: 7.938 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.7403, allocations: 15.86 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.036e-05/0.7404, allocations: 11.92 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.7405, allocations: 27.97 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.7407, allocations: 127.6 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.741, allocations: 160.5 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.892e-05/0.7411, allocations: 63.8 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.783e-05/0.7412, allocations: 71.64 kB / 1.21 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.7412, allocations: 12 kB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.137e-05/0.7413, allocations: 16 kB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.7413, allocations: 55.84 kB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.117e-05/0.7414, allocations: 83.42 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.7417, allocations: 235.1 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7417, allocations: 0 / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7417, allocations: 0 / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.7417, allocations: 0 / 1.21 GB, free: 11.92 MB / 0.9356 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.0005329/0.7422, allocations: 0.4967 MB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.7423, allocations: 8.031 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.7423, allocations: 28.66 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.7426, allocations: 249.2 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.7426, allocations: 20.73 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.7427, allocations: 20.31 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.7431, allocations: 337.1 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.7431, allocations: 3.938 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.7431, allocations: 8 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.7432, allocations: 23.98 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.7435, allocations: 263.8 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.7446, allocations: 1.08 MB / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.155e-05/0.7447, allocations: 173.1 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.7447, allocations: 88.17 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.7448, allocations: 75.28 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.7448, allocations: 114 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.7448, allocations: 3.938 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.792e-05/0.7449, allocations: 49.36 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.745, allocations: 130.7 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.7455, allocations: 0.4965 MB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.7455, allocations: 25.7 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.7456, allocations: 175.7 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.7456, allocations: 4 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.7457, allocations: 33.7 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7458, allocations: 334.8 kB / 1.214 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.7459, allocations: 55.89 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.111e-05/0.746, allocations: 106.8 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.7461, allocations: 110.8 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7461, allocations: 0 / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002772/0.7464, allocations: 193.1 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.7464, allocations: 12.19 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.7464, allocations: 4 kB / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.7464, allocations: 0 / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.7465, allocations: 19.98 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.7465, allocations: 7.938 kB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.663e-05/0.7466, allocations: 35.67 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.7467, allocations: 4 kB / 1.215 GB, free: 6.887 MB / 0.9356 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.0001485/0.7468, allocations: 249 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.7469, allocations: 140.5 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.747, allocations: 142.8 kB / 1.215 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.853e-05/0.747, allocations: 180.3 kB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.158e-05/0.7471, allocations: 180.2 kB / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.646e-05/0.7472, allocations: 180.2 kB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.7475, allocations: 497 kB / 1.216 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-05/0.7475, allocations: 105 kB / 1.216 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.7476, allocations: 105 kB / 1.216 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-05/0.7476, allocations: 188.1 kB / 1.217 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.7477, allocations: 176.3 kB / 1.217 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.946e-05/0.7477, allocations: 184.2 kB / 1.217 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.793e-05/0.7478, allocations: 184.3 kB / 1.217 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.7479, allocations: 327.5 kB / 1.217 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.7481, allocations: 213.8 kB / 1.218 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/0.7481, allocations: 188.1 kB / 1.218 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.7483, allocations: 105 kB / 1.218 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.7483, allocations: 180.3 kB / 1.218 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.7484, allocations: 109.2 kB / 1.218 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003366/0.7487, allocations: 367 kB / 1.219 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7487, allocations: 0 / 1.219 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002575/0.749, allocations: 27.94 kB / 1.219 GB, free: 2.727 MB / 0.9356 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.0001333/0.7491, allocations: 174.5 kB / 1.219 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.7492, allocations: 67.89 kB / 1.219 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7492, allocations: 3.938 kB / 1.219 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.819e-06/0.7493, allocations: 7.938 kB / 1.219 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.7498, allocations: 481.1 kB / 1.219 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.7503, allocations: 0.4975 MB / 1.22 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.7506, allocations: 0.771 MB / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.7507, allocations: 19.44 kB / 1.221 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.7507, allocations: 0 / 1.221 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of Templates: time 0.004213/0.7549, allocations: 2.659 MB / 1.223 GB, free: 13.99 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches