Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.005256/0.005256, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001184/0.001184, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.91 kB / 0.9505 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8955/0.897, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002025/0.899, allocations: 0.7341 MB / 1.088 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002312/0.8993, allocations: 51.5 kB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.8993, allocations: 6.031 kB / 1.088 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.8995, allocations: 17.39 kB / 1.088 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.8995, allocations: 15.53 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.8997, allocations: 26.78 kB / 1.088 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.8999, allocations: 126.9 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.9002, allocations: 151.4 kB / 1.089 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.992e-05/0.9003, allocations: 68.06 kB / 1.089 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.9004, allocations: 73.06 kB / 1.089 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.9005, allocations: 15.25 kB / 1.089 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.947e-05/0.9005, allocations: 15.19 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.9006, allocations: 50.73 kB / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.573e-05/0.9007, allocations: 89.47 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.901, allocations: 236.2 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.901, allocations: 0.8125 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.901, allocations: 0 / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.901, allocations: 0.8125 kB / 1.089 GB, free: 4.395 MB / 0.8575 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.000549/0.9016, allocations: 494.7 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.9016, allocations: 14.3 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.563e-05/0.9017, allocations: 56.98 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.9018, allocations: 27.91 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.9021, allocations: 250.3 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.9021, allocations: 15.94 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.9021, allocations: 24.34 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.9027, allocations: 334.9 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.9027, allocations: 0 / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.9027, allocations: 10.5 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.9028, allocations: 13.14 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004335/0.9032, allocations: 266.2 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.9045, allocations: 1.087 MB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.46e-05/0.9046, allocations: 173.9 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.9046, allocations: 84.17 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.9046, allocations: 76.03 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.9046, allocations: 111.8 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.9047, allocations: 0 / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.578e-05/0.9048, allocations: 52.83 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.9048, allocations: 131.4 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000734/0.9055, allocations: 0.495 MB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.9056, allocations: 25.7 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.9057, allocations: 169.5 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-06/0.9057, allocations: 1.266 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.9058, allocations: 29.11 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.9059, allocations: 340.5 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.906, allocations: 53.28 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.9061, allocations: 95.12 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.9062, allocations: 104.4 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9063, allocations: 1.516 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000362/0.9066, allocations: 179.8 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.9067, allocations: 14.66 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.9067, allocations: 2 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.9067, allocations: 1.938 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.9068, allocations: 22.91 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.9068, allocations: 7.109 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.907, allocations: 39.39 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.907, allocations: 8.141 kB / 1.094 GB, free: 1.086 MB / 0.8575 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.0001579/0.9071, allocations: 245 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.9072, allocations: 140.1 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.9074, allocations: 132.2 kB / 1.094 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.611e-05/0.9074, allocations: 182.8 kB / 1.094 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.759e-05/0.9075, allocations: 177.8 kB / 1.095 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-05/0.9076, allocations: 185 kB / 1.095 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.908, allocations: 493.1 kB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.814e-05/0.908, allocations: 106.5 kB / 1.095 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.9081, allocations: 106.9 kB / 1.095 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.842e-05/0.9082, allocations: 185.7 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.24e-05/0.9082, allocations: 178 kB / 1.096 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.653e-05/0.9083, allocations: 189.7 kB / 1.096 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.098e-05/0.9084, allocations: 182.8 kB / 1.096 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.9086, allocations: 326.4 kB / 1.096 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.9088, allocations: 215.8 kB / 1.097 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.9089, allocations: 186.3 kB / 1.097 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.909, allocations: 110.4 kB / 1.097 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.9091, allocations: 186.2 kB / 1.097 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/0.9092, allocations: 103.5 kB / 1.097 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005719/0.9097, allocations: 362.8 kB / 1.098 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9098, allocations: 0 / 1.098 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003094/0.9101, allocations: 24.34 kB / 1.098 GB, free: 13.38 MB / 0.8731 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.000616/0.9107, allocations: 0.8373 MB / 1.098 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.9109, allocations: 67.89 kB / 1.099 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9109, allocations: 0 / 1.099 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.9109, allocations: 1.125 kB / 1.099 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.9116, allocations: 483.7 kB / 1.099 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/0.9159, allocations: 3.268 MB / 1.102 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.9163, allocations: 0.786 MB / 1.103 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.9165, allocations: 47.73 kB / 1.103 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.9166, allocations: 58.89 kB / 1.103 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of SimCode: time 4e-07/0.9166, allocations: 0 / 1.103 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03638/0.953, allocations: 4.625 MB / 1.108 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/9.332, allocations: 7.109 kB / 1.108 GB, free: 8.887 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches