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.00138/0.00138, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001524/0.001524, allocations: 212.6 kB / 23.02 MB, free: 4.953 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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.924/2.924, allocations: 476.8 MB / 0.7715 GB, free: 3.934 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.001989/0.001989, allocations: 63.78 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3759, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002394/0.3783, allocations: 0.7235 MB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003109/0.3787, allocations: 51.83 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.3787, allocations: 3.938 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.3789, allocations: 23.8 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.379, allocations: 7.984 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.3792, allocations: 31.91 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.3794, allocations: 127.6 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.3797, allocations: 92.34 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3798, allocations: 63.78 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3799, allocations: 79.64 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.38, allocations: 12 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.4e-05/0.38, allocations: 12 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.175e-05/0.3801, allocations: 51.84 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3802, allocations: 67.55 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.3805, allocations: 240.4 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3805, allocations: 0 / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3805, allocations: 0 / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.3805, allocations: 0 / 1.286 GB, free: 9.051 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.000657/0.3812, allocations: 437.5 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3812, allocations: 8.031 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.265e-05/0.3812, allocations: 4.562 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.621e-05/0.3813, allocations: 58.73 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.3814, allocations: 24.75 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.3817, allocations: 199.6 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.3817, allocations: 16.73 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.3817, allocations: 20.38 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.3823, allocations: 344.7 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3823, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.3823, allocations: 12 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.3823, allocations: 16 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.3827, allocations: 263.8 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.384, allocations: 1.026 MB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.3841, allocations: 173.1 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.3842, allocations: 80.14 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.3842, allocations: 79.28 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/0.3843, allocations: 114 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3843, allocations: 0 / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001169/0.3844, allocations: 53.52 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.3845, allocations: 130.6 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.385, allocations: 0.4926 MB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3851, allocations: 25.7 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.3852, allocations: 167.9 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.3852, allocations: 7.938 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.3853, allocations: 33.66 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3854, allocations: 338.8 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.3855, allocations: 51.95 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/0.3856, allocations: 89.92 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.3857, allocations: 109.8 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3858, allocations: 0 / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003535/0.3861, allocations: 185.3 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.3861, allocations: 11.94 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3861, allocations: 0 / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3862, allocations: 4 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3863, allocations: 23.98 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3863, allocations: 4.094 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.3864, allocations: 39.73 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.3864, allocations: 11.97 kB / 1.29 GB, free: 4.203 MB / 0.9825 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.0002054/0.3866, allocations: 245.3 kB / 1.29 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3867, allocations: 132.8 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.801e-05/0.3868, allocations: 134.7 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.168e-05/0.3869, allocations: 184.3 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.019e-05/0.387, allocations: 180.2 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.75e-05/0.3871, allocations: 182 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.3874, allocations: 448.2 kB / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-05/0.3875, allocations: 104.9 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.3875, allocations: 101 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.701e-05/0.3876, allocations: 196.2 kB / 1.292 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.3877, allocations: 176.3 kB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-05/0.3878, allocations: 180.3 kB / 1.292 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.136e-05/0.3879, allocations: 188.2 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.3881, allocations: 327.6 kB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.3882, allocations: 148.8 kB / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3883, allocations: 176.3 kB / 1.293 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3884, allocations: 108.9 kB / 1.293 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.3885, allocations: 188.6 kB / 1.293 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.3886, allocations: 104.9 kB / 1.294 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003952/0.389, allocations: 363 kB / 1.294 GB, free: 228 kB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.389, allocations: 0 / 1.294 GB, free: 228 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002802/0.3893, allocations: 27.94 kB / 1.294 GB, free: 200 kB / 0.9825 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.000581/0.3898, allocations: 0.836 MB / 1.295 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.39, allocations: 63.89 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.39, allocations: 0 / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.39, allocations: 7.938 kB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.3907, allocations: 480.7 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.3947, allocations: 3.282 MB / 1.298 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.3949, allocations: 164.2 kB / 1.299 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.395, allocations: 45.62 kB / 1.299 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.3951, allocations: 67.39 kB / 1.299 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.3951, allocations: 0 / 1.299 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.422, allocations: 4.866 MB / 1.303 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.18, allocations: 5.938 kB / 1.303 GB, free: 6.406 MB / 0.9981 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.36474183294922]