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.001716/0.001716, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002055/0.002055, allocations: 216.2 kB / 22.25 MB, free: 5.262 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.785 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.298/3.298, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002138/0.002138, allocations: 69.66 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3828, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002011/0.3848, allocations: 0.728 MB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002499/0.385, allocations: 56.22 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.3851, allocations: 11.88 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.3853, allocations: 23.8 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.3853, allocations: 3.984 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.3855, allocations: 35.95 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.3856, allocations: 119.6 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.3858, allocations: 86.72 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.417e-05/0.3859, allocations: 71.78 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.386, allocations: 79.64 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.3861, allocations: 12 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.52e-05/0.3861, allocations: 16 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.3862, allocations: 51.84 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.379e-05/0.3863, allocations: 67.55 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.3865, allocations: 243.2 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3865, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3865, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3865, allocations: 0 / 1.365 GB, free: 12.43 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.0005531/0.3871, allocations: 437.6 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3871, allocations: 11.97 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.683e-05/0.3872, allocations: 54.73 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.3872, allocations: 24.8 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.3876, allocations: 206.6 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3876, allocations: 8.75 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.3876, allocations: 20.38 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.3881, allocations: 340.9 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3881, allocations: 3.938 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.3881, allocations: 4 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.3882, allocations: 15.98 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.3885, allocations: 259.9 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.3898, allocations: 1.026 MB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.3899, allocations: 173.1 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.39, allocations: 80.14 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.39, allocations: 75.28 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/0.3901, allocations: 110 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.3901, allocations: 4 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001058/0.3902, allocations: 57.48 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.3903, allocations: 130.7 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005997/0.3909, allocations: 0.4964 MB / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3909, allocations: 25.7 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.391, allocations: 167.9 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-06/0.391, allocations: 0 / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.495e-05/0.3911, allocations: 37.59 kB / 1.369 GB, free: 8.496 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3913, allocations: 338.8 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.607e-05/0.3913, allocations: 51.89 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.3914, allocations: 93.97 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3916, allocations: 109.8 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3916, allocations: 4 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003249/0.3919, allocations: 181.4 kB / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3919, allocations: 11.94 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3919, allocations: 0 / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.392, allocations: 4 kB / 1.369 GB, free: 7.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3921, allocations: 15.98 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3921, allocations: 7.938 kB / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3922, allocations: 39.72 kB / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3922, allocations: 8 kB / 1.369 GB, free: 7.59 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.0002037/0.3924, allocations: 245.1 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-05/0.3925, allocations: 128.9 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.3926, allocations: 150.7 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.903e-05/0.3927, allocations: 180.3 kB / 1.37 GB, free: 6.867 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.259e-05/0.3928, allocations: 180.2 kB / 1.37 GB, free: 6.684 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-05/0.3929, allocations: 176.3 kB / 1.37 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.3932, allocations: 452.3 kB / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.925e-05/0.3933, allocations: 108.9 kB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.3933, allocations: 102 kB / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.307e-05/0.3934, allocations: 188.1 kB / 1.371 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/0.3935, allocations: 180.3 kB / 1.371 GB, free: 5.418 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8e-05/0.3936, allocations: 176.3 kB / 1.372 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-05/0.3936, allocations: 184.2 kB / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.3938, allocations: 331.6 kB / 1.372 GB, free: 4.703 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.394, allocations: 144.8 kB / 1.372 GB, free: 4.555 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.3941, allocations: 188.5 kB / 1.372 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.3942, allocations: 108.9 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.3943, allocations: 184.3 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.3943, allocations: 108.9 kB / 1.373 GB, free: 3.949 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004158/0.3948, allocations: 367 kB / 1.373 GB, free: 3.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3948, allocations: 0 / 1.373 GB, free: 3.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002796/0.395, allocations: 24 kB / 1.373 GB, free: 3.566 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.0005302/0.3956, allocations: 0.832 MB / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.3957, allocations: 63.89 kB / 1.374 GB, free: 2.645 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3957, allocations: 3.938 kB / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.13e-06/0.3957, allocations: 7.938 kB / 1.374 GB, free: 2.633 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006467/0.3964, allocations: 480.7 kB / 1.375 GB, free: 2.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.4, allocations: 3.269 MB / 1.378 GB, free: 14.78 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.4002, allocations: 168.2 kB / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.4003, allocations: 49.61 kB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4004, allocations: 59.42 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of SimCode: time 9.82e-07/0.4004, allocations: 0 / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.4357, allocations: 5.228 MB / 1.383 GB, free: 9.402 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.08, allocations: 13.92 kB / 1.383 GB, free: 9.391 MB / 1.076 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: 19.026484281755984]