Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_latest_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.0007309/0.0007336, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004215/0.004215, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.247/1.247, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.475/2.475, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003317, allocations: 11.66 kB / 0.9029 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2725, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.0008637/0.2734, allocations: 480.2 kB / 1.059 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002186/0.2736, allocations: 59.83 kB / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.2737, allocations: 7.938 kB / 1.059 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.2738, allocations: 11.92 kB / 1.059 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.2739, allocations: 11.92 kB / 1.059 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.2741, allocations: 23.97 kB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.2742, allocations: 111.7 kB / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.2745, allocations: 160.4 kB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.769e-05/0.2745, allocations: 31.81 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.2746, allocations: 43.66 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.2746, allocations: 4 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.2746, allocations: 8 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.2747, allocations: 39.84 kB / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.2748, allocations: 89.12 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.275, allocations: 215.2 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.275, allocations: 0 / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.275, allocations: 0 / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.275, allocations: 0 / 1.06 GB, free: 3.59 MB / 0.8106 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.000461/0.2755, allocations: 447.5 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2755, allocations: 15.97 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.138e-05/0.2756, allocations: 58.73 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.2757, allocations: 28.66 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.2759, allocations: 263.7 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2759, allocations: 12.75 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.276, allocations: 20.38 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.2764, allocations: 340.9 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2764, allocations: 0 / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.2764, allocations: 8 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.2765, allocations: 19.98 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.2768, allocations: 259.8 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.2779, allocations: 1.076 MB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.06e-05/0.278, allocations: 173.1 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.278, allocations: 80.14 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.278, allocations: 79.22 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.2781, allocations: 110 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.2781, allocations: 0 / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.038e-05/0.2782, allocations: 53.3 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.2782, allocations: 130.7 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.2787, allocations: 0.4965 MB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.2787, allocations: 25.7 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.2789, allocations: 171.8 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-06/0.2789, allocations: 0 / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.2789, allocations: 17.72 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.279, allocations: 334.8 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.2791, allocations: 51.95 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.2792, allocations: 97.95 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.2793, allocations: 109.8 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2793, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002744/0.2796, allocations: 181.1 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2796, allocations: 11.94 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2796, allocations: 0 / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2796, allocations: 8.219 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.2797, allocations: 23.92 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2797, allocations: 0 / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.95e-05/0.2798, allocations: 39.67 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2799, allocations: 4 kB / 1.065 GB, free: 14.61 MB / 0.8262 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.0001404/0.28, allocations: 249 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.2801, allocations: 132.6 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.2802, allocations: 138.8 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.252e-05/0.2802, allocations: 184.2 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.194e-05/0.2803, allocations: 180.2 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.652e-05/0.2803, allocations: 176.3 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.2806, allocations: 497 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/0.2807, allocations: 101 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.2807, allocations: 109 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.026e-05/0.2807, allocations: 188.2 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.2808, allocations: 180.2 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.948e-05/0.2809, allocations: 180.2 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-05/0.2809, allocations: 180.3 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.281, allocations: 331.7 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.2812, allocations: 225.8 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.2813, allocations: 188.1 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.2814, allocations: 105 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.2814, allocations: 184.2 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.2815, allocations: 113 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003299/0.2818, allocations: 366.9 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2818, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002521/0.2821, allocations: 24 kB / 1.068 GB, free: 10.44 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.0003879/0.2825, allocations: 0.8395 MB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.2826, allocations: 63.89 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2826, allocations: 0 / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.2826, allocations: 4 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.2831, allocations: 0.5512 MB / 1.07 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.2861, allocations: 3.299 MB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.2864, allocations: 0.7713 MB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.869e-05/0.2865, allocations: 57.44 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.487e-05/0.2866, allocations: 59.42 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2866, allocations: 0 / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9289/1.216, allocations: 4.225 MB / 1.078 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/1.216, allocations: 215.6 kB / 1.078 GB, free: 276 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.792, allocations: 0 / 1.078 GB, free: 276 kB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches