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.001715/0.001715, allocations: 116.8 kB / 17.17 MB, free: 6 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.001663/0.001663, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.623/1.623, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.108/3.108, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_latest_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.002129/0.002129, allocations: 67.91 kB / 1.165 GB, free: 452 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185/1.187, allocations: 179 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002037/1.189, allocations: 0.7527 MB / 1.341 GB, free: 15.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002473/1.189, allocations: 51.94 kB / 1.341 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/1.189, allocations: 6.031 kB / 1.341 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001632/1.19, allocations: 22.64 kB / 1.341 GB, free: 15.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/1.19, allocations: 8.172 kB / 1.341 GB, free: 15.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/1.19, allocations: 27.72 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/1.19, allocations: 123.3 kB / 1.341 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/1.19, allocations: 136.4 kB / 1.341 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.308e-05/1.19, allocations: 65.3 kB / 1.341 GB, free: 15.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/1.19, allocations: 77.02 kB / 1.341 GB, free: 15.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/1.191, allocations: 11.84 kB / 1.341 GB, free: 15.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.986e-05/1.191, allocations: 12 kB / 1.341 GB, free: 15.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/1.191, allocations: 55.28 kB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.909e-05/1.191, allocations: 84.36 kB / 1.342 GB, free: 15.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/1.191, allocations: 237.8 kB / 1.342 GB, free: 15.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.191, allocations: 1.062 kB / 1.342 GB, free: 15.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.013e-06/1.191, allocations: 0 / 1.342 GB, free: 15.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.191, allocations: 4 kB / 1.342 GB, free: 15.34 MB / 1.061 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.0005344/1.192, allocations: 0.4964 MB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.192, allocations: 10.28 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.565e-05/1.192, allocations: 5.875 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/1.192, allocations: 56.69 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/1.192, allocations: 24.36 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/1.192, allocations: 255.9 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/1.192, allocations: 12.98 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/1.192, allocations: 20.25 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/1.193, allocations: 343.1 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.193, allocations: 0 / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/1.193, allocations: 17.52 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/1.193, allocations: 13.3 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/1.193, allocations: 258.8 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/1.194, allocations: 1.087 MB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.03e-05/1.194, allocations: 170.9 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/1.194, allocations: 88.17 kB / 1.345 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/1.194, allocations: 80.19 kB / 1.345 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/1.194, allocations: 111.6 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/1.194, allocations: 0 / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001095/1.194, allocations: 49.64 kB / 1.345 GB, free: 13.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/1.194, allocations: 131.1 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/1.195, allocations: 0.4947 MB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/1.195, allocations: 25.7 kB / 1.345 GB, free: 12.76 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/1.195, allocations: 178.2 kB / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-06/1.195, allocations: 0.6094 kB / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/1.195, allocations: 28.89 kB / 1.346 GB, free: 12.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.188e-05/1.195, allocations: 341.3 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/1.195, allocations: 48.45 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/1.195, allocations: 88.34 kB / 1.346 GB, free: 12.19 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/1.195, allocations: 108.6 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.195, allocations: 4 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003153/1.196, allocations: 185.1 kB / 1.346 GB, free: 12.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.196, allocations: 10.05 kB / 1.346 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/1.196, allocations: 1.375 kB / 1.346 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.196, allocations: 6.734 kB / 1.346 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/1.196, allocations: 19.02 kB / 1.346 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/1.196, allocations: 7.344 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/1.196, allocations: 38.67 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/1.196, allocations: 11.86 kB / 1.346 GB, free: 12 MB / 1.061 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.0001359/1.196, allocations: 245 kB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/1.196, allocations: 128.8 kB / 1.347 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/1.196, allocations: 136.5 kB / 1.347 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.196, allocations: 178.1 kB / 1.347 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-05/1.196, allocations: 186.8 kB / 1.347 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-05/1.196, allocations: 182.2 kB / 1.347 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/1.197, allocations: 490.2 kB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/1.197, allocations: 106.1 kB / 1.348 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/1.197, allocations: 102.5 kB / 1.348 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.817e-05/1.197, allocations: 185.8 kB / 1.348 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/1.197, allocations: 186.2 kB / 1.348 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.462e-05/1.197, allocations: 185.5 kB / 1.349 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.477e-05/1.197, allocations: 182.2 kB / 1.349 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9e-05/1.197, allocations: 326.3 kB / 1.349 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/1.197, allocations: 224 kB / 1.349 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/1.197, allocations: 179.2 kB / 1.35 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/1.197, allocations: 114.1 kB / 1.35 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/1.197, allocations: 182.6 kB / 1.35 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/1.197, allocations: 106 kB / 1.35 GB, free: 8.445 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003848/1.198, allocations: 364.3 kB / 1.35 GB, free: 8.301 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.198, allocations: 4 kB / 1.35 GB, free: 8.297 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002737/1.198, allocations: 23.5 kB / 1.35 GB, free: 8.297 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.0003774/1.198, allocations: 0.8323 MB / 1.351 GB, free: 7.473 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001649/1.198, allocations: 70.36 kB / 1.351 GB, free: 7.453 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/1.198, allocations: 9 kB / 1.351 GB, free: 7.445 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/1.198, allocations: 0 / 1.351 GB, free: 7.445 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/1.199, allocations: 480.5 kB / 1.352 GB, free: 6.988 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/1.203, allocations: 3.275 MB / 1.355 GB, free: 5.117 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/1.203, allocations: 0.7763 MB / 1.356 GB, free: 4.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000125/1.203, allocations: 51.39 kB / 1.356 GB, free: 4.402 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/1.203, allocations: 58.84 kB / 1.356 GB, free: 4.359 MB / 1.061 GB Notification: Performance of SimCode: time 1.243e-06/1.203, allocations: 0 / 1.356 GB, free: 4.359 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/1.228, allocations: 4.644 MB / 1.36 GB, free: 3.773 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.625/9.853, allocations: 12.8 kB / 1.36 GB, free: 3.766 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.920729839999694]