Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.MatrixMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_11_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.001718/0.001718, 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.001817/0.001817, allocations: 194.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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.607/2.607, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 68.05 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2715, allocations: 159.1 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00209/0.2736, allocations: 0.7454 MB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002308/0.2739, allocations: 59.83 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.2739, allocations: 4 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.2741, allocations: 11.86 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.061e-05/0.2741, allocations: 15.92 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.2743, allocations: 23.97 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.2745, allocations: 127.6 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.2748, allocations: 160.5 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.863e-05/0.2748, allocations: 63.8 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.954e-05/0.2749, allocations: 75.64 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.275, allocations: 12 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-05/0.275, allocations: 12 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.2751, allocations: 55.78 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.478e-05/0.2752, allocations: 87.41 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.2755, allocations: 223.3 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2755, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2755, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2755, allocations: 4 kB / 1.066 GB, free: 12.48 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005552/0.2761, allocations: 491.4 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2761, allocations: 12.03 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/0.2762, allocations: 54.73 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.2763, allocations: 32.55 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.2765, allocations: 256.6 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.2766, allocations: 20.69 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.2766, allocations: 20.38 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/0.2771, allocations: 336.9 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2771, allocations: 3.984 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.2771, allocations: 8 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.2771, allocations: 8 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.2775, allocations: 267.8 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.2787, allocations: 1.084 MB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.2788, allocations: 169.1 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.2788, allocations: 80.14 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.2789, allocations: 79.28 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/0.2789, allocations: 114 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2789, allocations: 4 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001102/0.2791, allocations: 49.36 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.2791, allocations: 126.7 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.2797, allocations: 0.4925 MB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2797, allocations: 29.7 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.2798, allocations: 175.8 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.2798, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.2799, allocations: 29.7 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.28, allocations: 338.8 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.2801, allocations: 47.97 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.375e-05/0.2802, allocations: 93.91 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.2804, allocations: 105.9 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2804, allocations: 4 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002878/0.2807, allocations: 185.2 kB / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2807, allocations: 11.88 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2807, allocations: 4 kB / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2807, allocations: 3.984 kB / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.2808, allocations: 16 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2808, allocations: 8.203 kB / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.2809, allocations: 43.53 kB / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.2809, allocations: 11.94 kB / 1.07 GB, free: 7.422 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.0001638/0.2811, allocations: 249 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.2812, allocations: 130.5 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/0.2813, allocations: 134.8 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.132e-05/0.2814, allocations: 184.2 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.066e-05/0.2814, allocations: 180.3 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.595e-05/0.2815, allocations: 180.2 kB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.2818, allocations: 493.1 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.046e-05/0.2819, allocations: 105 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.2819, allocations: 108.9 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.974e-05/0.282, allocations: 188.2 kB / 1.072 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-05/0.2821, allocations: 180.2 kB / 1.072 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.866e-05/0.2822, allocations: 180.3 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.831e-05/0.2822, allocations: 176.3 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.2824, allocations: 331.5 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.2825, allocations: 222 kB / 1.073 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.2826, allocations: 180.2 kB / 1.073 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.2828, allocations: 109 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.2828, allocations: 184.2 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/0.2829, allocations: 105 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003674/0.2833, allocations: 359 kB / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2833, allocations: 8 kB / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002474/0.2835, allocations: 24 kB / 1.074 GB, free: 3.281 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.0004762/0.284, allocations: 0.8318 MB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.2841, allocations: 71.89 kB / 1.075 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2842, allocations: 4 kB / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.2842, allocations: 0 / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.2847, allocations: 482.1 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.2879, allocations: 3.275 MB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.2883, allocations: 0.7788 MB / 1.079 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.971e-05/0.2884, allocations: 53.45 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.34e-05/0.2885, allocations: 63.42 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.2885, allocations: 0 / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9121/1.201, allocations: 4.505 MB / 1.084 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.719/10.92, allocations: 14.67 kB / 1.084 GB, free: 9.125 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches