Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",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.008729/0.00873, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001821/0.001821, allocations: 186.6 kB / 16.67 MB, free: 5.965 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 / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 437.1 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001452, allocations: 71.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3158, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001797/0.3177, allocations: 0.7432 MB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002114/0.3179, allocations: 55.77 kB / 1.167 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.318, allocations: 4 kB / 1.167 GB, free: 6.465 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.3181, allocations: 19.8 kB / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.343e-05/0.3182, allocations: 7.984 kB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.3183, allocations: 31.3 kB / 1.167 GB, free: 6.41 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.3185, allocations: 123.7 kB / 1.167 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.3187, allocations: 156.8 kB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.3188, allocations: 67.78 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.046e-05/0.3189, allocations: 75.64 kB / 1.167 GB, free: 5.992 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.3189, allocations: 12 kB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.879e-05/0.319, allocations: 12 kB / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.3191, allocations: 55.78 kB / 1.168 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.115e-05/0.3192, allocations: 79.48 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.3194, allocations: 239.1 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3194, allocations: 4 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3194, allocations: 3.938 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.3194, allocations: 0 / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004974/0.3199, allocations: 498.7 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.32, allocations: 11.97 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.391e-05/0.32, allocations: 54.73 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.3201, allocations: 24.66 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.3203, allocations: 257 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3203, allocations: 12.75 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.3204, allocations: 16.38 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.3208, allocations: 344.9 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.3208, allocations: 7.938 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.3208, allocations: 11.98 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.3209, allocations: 23.92 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.3212, allocations: 255.9 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.3223, allocations: 1.08 MB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.447e-05/0.3224, allocations: 173.1 kB / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.3225, allocations: 84.14 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3225, allocations: 75.28 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.3226, allocations: 110 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3226, allocations: 0 / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.901e-05/0.3227, allocations: 57.27 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.3227, allocations: 126.7 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.3233, allocations: 0.5003 MB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.3233, allocations: 25.7 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3234, allocations: 163.8 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.842e-06/0.3234, allocations: 8 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.3235, allocations: 29.7 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3236, allocations: 338.8 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.442e-05/0.3237, allocations: 51.95 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.122e-05/0.3238, allocations: 85.97 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3239, allocations: 109.8 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3239, allocations: 3.938 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000288/0.3242, allocations: 185.2 kB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3242, allocations: 7.938 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3243, allocations: 0 / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3243, allocations: 4 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3244, allocations: 19.98 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3244, allocations: 3.938 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3245, allocations: 47.58 kB / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.3245, allocations: 12.22 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001493/0.3247, allocations: 245.7 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.3248, allocations: 128.6 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.076e-05/0.3248, allocations: 134.8 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-05/0.3249, allocations: 180.3 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.114e-05/0.325, allocations: 184.2 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.93e-05/0.325, allocations: 184.3 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.3253, allocations: 493 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.702e-05/0.3254, allocations: 104.9 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.3254, allocations: 105 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.93e-05/0.3255, allocations: 188.1 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/0.3255, allocations: 180.3 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.633e-05/0.3256, allocations: 184.2 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-05/0.3256, allocations: 184.2 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.3258, allocations: 319.5 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.3259, allocations: 221.8 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.341e-05/0.326, allocations: 180.5 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3261, allocations: 120.9 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.3262, allocations: 180.3 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.3262, allocations: 108.9 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003377/0.3265, allocations: 359 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3266, allocations: 0 / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002801/0.3268, allocations: 28 kB / 1.176 GB, free: 12.39 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.0004477/0.3273, allocations: 0.8319 MB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.3275, allocations: 64.27 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3275, allocations: 4.062 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.3275, allocations: 3.938 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.328, allocations: 486.4 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.3311, allocations: 3.273 MB / 1.181 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3314, allocations: 0.7749 MB / 1.182 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.225e-05/0.3315, allocations: 45.53 kB / 1.182 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.614e-05/0.3316, allocations: 67.41 kB / 1.182 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3316, allocations: 0 / 1.182 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.3519, allocations: 4.576 MB / 1.186 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.191, allocations: 10.34 kB / 1.186 GB, free: 2.199 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches