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.001791/0.00179, allocations: 104.3 kB / 16.35 MB, free: 6.289 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.001868/0.001868, allocations: 193.5 kB / 17.29 MB, free: 5.859 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.516/2.516, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 71.56 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3122, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.00202/0.3143, allocations: 0.7549 MB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002432/0.3145, allocations: 59.83 kB / 1.028 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.3146, allocations: 3.938 kB / 1.028 GB, free: 1.246 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.3148, allocations: 15.86 kB / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.257e-05/0.3148, allocations: 15.92 kB / 1.028 GB, free: 1.215 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.315, allocations: 27.95 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.3152, allocations: 123.6 kB / 1.028 GB, free: 1.066 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.3154, allocations: 156.5 kB / 1.028 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.3155, allocations: 67.8 kB / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.3156, allocations: 75.62 kB / 1.028 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.3156, allocations: 12 kB / 1.028 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.619e-05/0.3157, allocations: 12 kB / 1.028 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.3157, allocations: 51.84 kB / 1.028 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.3158, allocations: 87.42 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3161, allocations: 235.1 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3161, allocations: 8 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3161, allocations: 0 / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3161, allocations: 0 / 1.028 GB, free: 380 kB / 0.795 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.0006078/0.3167, allocations: 495 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3168, allocations: 8.031 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.3168, allocations: 28.56 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3172, allocations: 256.9 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3172, allocations: 16.75 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.3172, allocations: 16.38 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.3177, allocations: 345.1 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3177, allocations: 3.938 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.3177, allocations: 4 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.3178, allocations: 19.98 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.3181, allocations: 263.8 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.3193, allocations: 1.088 MB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.625e-05/0.3194, allocations: 177.1 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.3194, allocations: 80.14 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3194, allocations: 79.27 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.3195, allocations: 114 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.3195, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.781e-05/0.3196, allocations: 61.2 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.3197, allocations: 126.7 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.3201, allocations: 0.4965 MB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3202, allocations: 29.7 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3203, allocations: 163.8 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-06/0.3203, allocations: 4 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.3204, allocations: 41.61 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3205, allocations: 338.8 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.414e-05/0.3205, allocations: 51.95 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.3206, allocations: 94.83 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3208, allocations: 118.7 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3208, allocations: 4 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003068/0.3211, allocations: 189.1 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3211, allocations: 11.94 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3211, allocations: 0 / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3211, allocations: 4 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3213, allocations: 19.98 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3213, allocations: 7.938 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-05/0.3214, allocations: 35.92 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.3214, allocations: 8 kB / 1.033 GB, free: 11.34 MB / 0.8106 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.0001462/0.3215, allocations: 249 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.3216, allocations: 128.6 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.612e-05/0.3217, allocations: 138.8 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/0.3218, allocations: 180.2 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.535e-05/0.3218, allocations: 188.2 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.218e-05/0.3219, allocations: 180.3 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.3221, allocations: 497.1 kB / 1.034 GB, free: 9.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-05/0.3222, allocations: 104.9 kB / 1.035 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.3222, allocations: 101 kB / 1.035 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.892e-05/0.3223, allocations: 192.1 kB / 1.035 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/0.3224, allocations: 180.3 kB / 1.035 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-05/0.3224, allocations: 184.1 kB / 1.035 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.392e-05/0.3225, allocations: 176.3 kB / 1.035 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.3226, allocations: 335.4 kB / 1.036 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3228, allocations: 214.1 kB / 1.036 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.047e-05/0.3229, allocations: 192.1 kB / 1.036 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.323, allocations: 109 kB / 1.036 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.323, allocations: 176.3 kB / 1.036 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.3231, allocations: 108.9 kB / 1.036 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003255/0.3234, allocations: 367 kB / 1.037 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3234, allocations: 4 kB / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002617/0.3237, allocations: 24 kB / 1.037 GB, free: 7.18 MB / 0.8106 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.0001473/0.3238, allocations: 174.5 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.324, allocations: 64.02 kB / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.324, allocations: 0 / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.324, allocations: 0.5 kB / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.3245, allocations: 0.4971 MB / 1.038 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.3251, allocations: 477.9 kB / 1.038 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3254, allocations: 0.7788 MB / 1.039 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.654e-05/0.3255, allocations: 49.53 kB / 1.039 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.3255, allocations: 15.44 kB / 1.039 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3255, allocations: 0 / 1.039 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.004081/0.3296, allocations: 1.722 MB / 1.041 GB, free: 3.355 MB / 0.8106 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 -s gbode -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