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.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.001641/0.001641, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002252/0.002252, allocations: 220.7 kB / 23.05 MB, free: 5.074 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.582/1.582, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.903/2.903, allocations: 476.7 MB / 0.7715 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="cs",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.002085/0.002085, allocations: 62.77 kB / 1.118 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3925, allocations: 169.9 MB / 1.284 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002215/0.3947, allocations: 0.7511 MB / 1.285 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002611/0.395, allocations: 52.23 kB / 1.285 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.3951, allocations: 7.938 kB / 1.285 GB, free: 3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.3952, allocations: 23.84 kB / 1.285 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.3953, allocations: 7.922 kB / 1.285 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.3955, allocations: 27.98 kB / 1.285 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.3957, allocations: 119.6 kB / 1.285 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.3959, allocations: 88.83 kB / 1.285 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.396, allocations: 71.78 kB / 1.285 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.3961, allocations: 71.64 kB / 1.285 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.3962, allocations: 12 kB / 1.285 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.96e-05/0.3962, allocations: 12 kB / 1.285 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.305e-05/0.3963, allocations: 59.84 kB / 1.285 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3964, allocations: 91.41 kB / 1.286 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.3967, allocations: 231.2 kB / 1.286 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3967, allocations: 0 / 1.286 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3967, allocations: 0 / 1.286 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3967, allocations: 0 / 1.286 GB, free: 2.195 MB / 0.9825 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.000613/0.3973, allocations: 437.6 kB / 1.286 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3974, allocations: 8.031 kB / 1.286 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.151e-05/0.3974, allocations: 8.562 kB / 1.286 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/0.3974, allocations: 62.73 kB / 1.286 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.3975, allocations: 24.75 kB / 1.286 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.3978, allocations: 207.3 kB / 1.286 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.3978, allocations: 12.75 kB / 1.286 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.3979, allocations: 12.38 kB / 1.286 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.3984, allocations: 340.7 kB / 1.287 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3984, allocations: 0 / 1.287 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.3984, allocations: 8 kB / 1.287 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/0.3985, allocations: 16 kB / 1.287 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.3988, allocations: 267.8 kB / 1.287 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.4002, allocations: 1.05 MB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.4003, allocations: 173.1 kB / 1.288 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.4004, allocations: 88.08 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.4004, allocations: 79.28 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.708e-05/0.4005, allocations: 110 kB / 1.289 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.4005, allocations: 0 / 1.289 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001129/0.4006, allocations: 57.45 kB / 1.289 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.4007, allocations: 130.7 kB / 1.289 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.4013, allocations: 0.4964 MB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.4013, allocations: 25.7 kB / 1.289 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.4015, allocations: 171.9 kB / 1.289 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-06/0.4015, allocations: 0 / 1.289 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-05/0.4016, allocations: 29.7 kB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4017, allocations: 342.8 kB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.4018, allocations: 39.97 kB / 1.29 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.4019, allocations: 101.9 kB / 1.29 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.4021, allocations: 105.9 kB / 1.29 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4021, allocations: 0 / 1.29 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003365/0.4024, allocations: 185.3 kB / 1.29 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.4025, allocations: 14.44 kB / 1.29 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4025, allocations: 224 / 1.29 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.4025, allocations: 8 kB / 1.29 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.4026, allocations: 19.98 kB / 1.29 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4026, allocations: 4.141 kB / 1.29 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.4027, allocations: 39.73 kB / 1.29 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.4027, allocations: 8 kB / 1.29 GB, free: 13.32 MB / 0.9981 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.0002435/0.403, allocations: 249 kB / 1.291 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.4031, allocations: 132.8 kB / 1.291 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.4032, allocations: 134.8 kB / 1.291 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.169e-05/0.4033, allocations: 180.2 kB / 1.291 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.009e-05/0.4034, allocations: 180.3 kB / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.224e-05/0.4034, allocations: 185.6 kB / 1.291 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.4038, allocations: 464.2 kB / 1.292 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.122e-05/0.4038, allocations: 105 kB / 1.292 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.4039, allocations: 108.9 kB / 1.292 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.456e-05/0.404, allocations: 184.2 kB / 1.292 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.404, allocations: 184.2 kB / 1.292 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.308e-05/0.4041, allocations: 180.3 kB / 1.292 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.619e-05/0.4042, allocations: 184.2 kB / 1.293 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.4044, allocations: 327.6 kB / 1.293 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.4045, allocations: 148.7 kB / 1.293 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4046, allocations: 180.5 kB / 1.293 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.4047, allocations: 112.9 kB / 1.293 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.4048, allocations: 188.3 kB / 1.294 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.4049, allocations: 104.9 kB / 1.294 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004079/0.4053, allocations: 363 kB / 1.294 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4053, allocations: 0 / 1.294 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002702/0.4056, allocations: 24 kB / 1.294 GB, free: 9.289 MB / 0.9981 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.0005305/0.4061, allocations: 0.8358 MB / 1.295 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.4062, allocations: 63.89 kB / 1.295 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4062, allocations: 0 / 1.295 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.4062, allocations: 0 / 1.295 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007688/0.407, allocations: 493.2 kB / 1.295 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.4105, allocations: 3.266 MB / 1.299 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.411, allocations: 0.7788 MB / 1.299 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.789e-05/0.411, allocations: 45.62 kB / 1.299 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.4112, allocations: 55.42 kB / 1.299 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/0.4112, allocations: 0 / 1.299 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.436, allocations: 4.765 MB / 1.304 GB, free: 14.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.88, allocations: 2.438 kB / 1.304 GB, free: 14.97 MB / 1.014 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.023358968028333]