Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.614/2.614, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 74.2 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.272, allocations: 159.2 MB / 1.064 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.00191/0.274, allocations: 0.747 MB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002067/0.2742, allocations: 59.83 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.2743, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.2744, allocations: 23.8 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.2744, allocations: 7.984 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.2746, allocations: 27.97 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.2747, allocations: 119.6 kB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.275, allocations: 160.5 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.376e-05/0.2751, allocations: 67.8 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.009e-05/0.2752, allocations: 71.64 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.2752, allocations: 12 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.98e-05/0.2752, allocations: 15.94 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.2753, allocations: 51.84 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.358e-05/0.2754, allocations: 87.41 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.2756, allocations: 223.3 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2756, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2757, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.2757, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 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.0005336/0.2762, allocations: 0.4915 MB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2762, allocations: 8.031 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.761e-05/0.2763, allocations: 62.67 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.2764, allocations: 24.64 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.2766, allocations: 256.6 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.2767, allocations: 16.75 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.2767, allocations: 20.36 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.2772, allocations: 340.9 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2772, allocations: 0 / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.2772, allocations: 8 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.2772, allocations: 19.92 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.2776, allocations: 260.4 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.2787, allocations: 1.1 MB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.449e-05/0.2788, allocations: 169.1 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.2789, allocations: 84.08 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.2789, allocations: 75.28 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.279, allocations: 118 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.279, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.571e-05/0.2791, allocations: 49.42 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.2791, allocations: 126.7 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.2797, allocations: 0.4926 MB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.2797, allocations: 29.7 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.2798, allocations: 175.7 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.2798, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.2799, allocations: 29.7 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2801, allocations: 342.8 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.2801, allocations: 43.91 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.2802, allocations: 98.83 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2804, allocations: 118.7 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2804, allocations: 7.984 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002866/0.2807, allocations: 189.1 kB / 1.07 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2807, allocations: 11.94 kB / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2807, allocations: 0 / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2807, allocations: 4 kB / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.2808, allocations: 23.92 kB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2808, allocations: 4.188 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.513e-05/0.2809, allocations: 47.66 kB / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.281, allocations: 8 kB / 1.07 GB, free: 7.352 MB / 0.8262 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.0001633/0.2811, allocations: 245.1 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.2812, allocations: 138.3 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.998e-05/0.2813, allocations: 134.8 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.039e-05/0.2814, allocations: 180.2 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.795e-05/0.2815, allocations: 184.2 kB / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.811e-05/0.2815, allocations: 176.3 kB / 1.071 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.2819, allocations: 0.4932 MB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.94e-05/0.2819, allocations: 101 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.282, allocations: 104.9 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.369e-05/0.282, allocations: 184.2 kB / 1.072 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-05/0.2821, allocations: 184.2 kB / 1.072 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.968e-05/0.2822, allocations: 180.2 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.889e-05/0.2823, allocations: 180.3 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.2824, allocations: 323.5 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.2826, allocations: 222 kB / 1.073 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-05/0.2827, allocations: 180.2 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2828, allocations: 113 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.2829, allocations: 184.2 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.2829, allocations: 105 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003761/0.2833, allocations: 371 kB / 1.074 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2833, allocations: 0 / 1.074 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002546/0.2836, allocations: 24 kB / 1.074 GB, free: 3.203 MB / 0.8262 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.00047/0.284, allocations: 0.8279 MB / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.2842, allocations: 75.89 kB / 1.075 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2842, allocations: 0 / 1.075 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.2842, allocations: 0 / 1.075 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.2847, allocations: 481.1 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.2879, allocations: 3.309 MB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.2883, allocations: 0.7749 MB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.74e-05/0.2884, allocations: 49.53 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.2885, allocations: 63.41 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.2885, allocations: 0 / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.005/1.294, allocations: 4.53 MB / 1.084 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.65, allocations: 3.984 kB / 1.084 GB, free: 9 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches