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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002256/0.002256, allocations: 217.8 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.399/3.399, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 62.77 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3707, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002024/0.3727, allocations: 0.7527 MB / 1.354 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002685/0.373, allocations: 52.23 kB / 1.354 GB, free: 7.633 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.373, allocations: 7.938 kB / 1.354 GB, free: 7.625 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.3732, allocations: 19.86 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.3732, allocations: 11.92 kB / 1.354 GB, free: 7.594 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.3734, allocations: 31.95 kB / 1.354 GB, free: 7.562 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.3736, allocations: 123.6 kB / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.3739, allocations: 84.84 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.374, allocations: 71.78 kB / 1.354 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.3741, allocations: 75.62 kB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.3741, allocations: 12 kB / 1.354 GB, free: 7.191 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.301e-05/0.3741, allocations: 16 kB / 1.354 GB, free: 7.176 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.331e-05/0.3742, allocations: 59.86 kB / 1.354 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.3743, allocations: 83.42 kB / 1.354 GB, free: 7.035 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.3746, allocations: 235.2 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3746, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3746, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.3746, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 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.0005946/0.3752, allocations: 441.6 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3753, allocations: 8.031 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.794e-05/0.3753, allocations: 54.73 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.3754, allocations: 32.8 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.3757, allocations: 202 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3757, allocations: 12.75 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.3758, allocations: 20.36 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.3763, allocations: 348.7 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3763, allocations: 0 / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.3763, allocations: 8 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.3763, allocations: 16 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.3767, allocations: 263.8 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.3781, allocations: 1.049 MB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.3782, allocations: 165.1 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.3782, allocations: 84.14 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.3783, allocations: 79.22 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.966e-05/0.3783, allocations: 122 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3783, allocations: 0 / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001027/0.3784, allocations: 49.5 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.3785, allocations: 130.7 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.3791, allocations: 0.4965 MB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3791, allocations: 25.7 kB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3792, allocations: 171.9 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.3792, allocations: 0 / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.3793, allocations: 29.7 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3795, allocations: 342.8 kB / 1.358 GB, free: 2.496 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.3796, allocations: 39.97 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3797, allocations: 101.9 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3798, allocations: 101.9 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3798, allocations: 4 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000314/0.3801, allocations: 185.2 kB / 1.359 GB, free: 2.023 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3802, allocations: 11.94 kB / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3802, allocations: 0 / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3802, allocations: 8.203 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.3803, allocations: 16 kB / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3803, allocations: 7.984 kB / 1.359 GB, free: 1.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.3804, allocations: 31.78 kB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3804, allocations: 12 kB / 1.359 GB, free: 1.938 MB / 1.045 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.0001909/0.3806, allocations: 252.9 kB / 1.359 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.3807, allocations: 136.8 kB / 1.359 GB, free: 1.539 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.892e-05/0.3808, allocations: 130.8 kB / 1.359 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.252e-05/0.3809, allocations: 184.2 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.068e-05/0.381, allocations: 176.3 kB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.03e-05/0.3811, allocations: 184.2 kB / 1.36 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.3814, allocations: 468.2 kB / 1.36 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.975e-05/0.3815, allocations: 105 kB / 1.361 GB, free: 236 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.3815, allocations: 112.9 kB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.3816, allocations: 184.2 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/0.3817, allocations: 180.2 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.288e-05/0.3818, allocations: 176.3 kB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.665e-05/0.3819, allocations: 188.8 kB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.3821, allocations: 331.6 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3822, allocations: 148.7 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3823, allocations: 180.5 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.3824, allocations: 112.9 kB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.3825, allocations: 188.3 kB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.3826, allocations: 105 kB / 1.362 GB, free: 14.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004007/0.383, allocations: 367 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.383, allocations: 0 / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000269/0.3832, allocations: 24 kB / 1.363 GB, free: 13.89 MB / 1.061 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.0005534/0.3838, allocations: 0.832 MB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.3839, allocations: 63.89 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3839, allocations: 0 / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3839, allocations: 0 / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.3846, allocations: 485.2 kB / 1.364 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.3884, allocations: 3.271 MB / 1.367 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.3888, allocations: 0.7788 MB / 1.368 GB, free: 8.297 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.464e-05/0.3889, allocations: 49.61 kB / 1.368 GB, free: 8.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.389, allocations: 55.42 kB / 1.368 GB, free: 8.195 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.389, allocations: 0 / 1.368 GB, free: 8.195 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.4221, allocations: 4.738 MB / 1.373 GB, free: 3.602 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.8, allocations: 10.81 kB / 1.373 GB, free: 3.598 MB / 1.061 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.841229913989082]