Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00157/0.00157, allocations: 113 kB / 18.94 MB, free: 2.934 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.001872/0.001872, allocations: 209.3 kB / 22.25 MB, free: 5.086 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.272/3.272, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_12_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.002131/0.002131, allocations: 74.62 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3797, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002355/0.3821, allocations: 0.7596 MB / 1.327 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002952/0.3824, allocations: 56.23 kB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.3825, allocations: 3.938 kB / 1.327 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.3826, allocations: 19.86 kB / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.529e-05/0.3827, allocations: 11.92 kB / 1.327 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.3829, allocations: 23.97 kB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.3831, allocations: 127.7 kB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.3833, allocations: 84.84 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3834, allocations: 67.78 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3835, allocations: 83.62 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.3836, allocations: 15.94 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.016e-05/0.3836, allocations: 12 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.3837, allocations: 47.86 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.3838, allocations: 83.42 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.3841, allocations: 243.2 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3841, allocations: 0 / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3841, allocations: 0 / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.3841, allocations: 0 / 1.328 GB, free: 288 kB / 1.014 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.0006678/0.3848, allocations: 437.6 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3848, allocations: 12.03 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.14e-05/0.3849, allocations: 54.73 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.385, allocations: 28.75 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.3853, allocations: 198.2 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3853, allocations: 12.75 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.3853, allocations: 20.38 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/0.3859, allocations: 348.8 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3859, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.3859, allocations: 8 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.3859, allocations: 11.94 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.3863, allocations: 269.1 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.3877, allocations: 1.042 MB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.3878, allocations: 177.1 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.3878, allocations: 84.08 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.3878, allocations: 75.28 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6e-05/0.3879, allocations: 110 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3879, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001139/0.388, allocations: 61.44 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.3881, allocations: 126.7 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.3887, allocations: 0.4887 MB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3887, allocations: 25.7 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.3889, allocations: 175.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.3889, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.3889, allocations: 29.7 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3891, allocations: 342.8 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.3892, allocations: 47.97 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.3893, allocations: 89.95 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.3895, allocations: 109.8 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3895, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003316/0.3898, allocations: 189.6 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3898, allocations: 11.94 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3898, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3898, allocations: 7.984 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3899, allocations: 19.94 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3899, allocations: 3.984 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3901, allocations: 39.73 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.3901, allocations: 8 kB / 1.332 GB, free: 11.41 MB / 1.029 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.0001992/0.3903, allocations: 245.6 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3904, allocations: 136.7 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.82e-05/0.3905, allocations: 130.8 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.486e-05/0.3906, allocations: 192.2 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.388e-05/0.3906, allocations: 176.3 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.728e-05/0.3907, allocations: 176.3 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.3911, allocations: 468.2 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.618e-05/0.3912, allocations: 109 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/0.3912, allocations: 108.9 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.496e-05/0.3913, allocations: 184.2 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-05/0.3914, allocations: 176.3 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.986e-05/0.3915, allocations: 184.2 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.805e-05/0.3916, allocations: 184.2 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.3918, allocations: 331.6 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3919, allocations: 148.8 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.392, allocations: 184.4 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3922, allocations: 105 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.071e-05/0.3923, allocations: 188.2 kB / 1.335 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.372e-05/0.3923, allocations: 101 kB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004268/0.3927, allocations: 367 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3927, allocations: 0 / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002739/0.393, allocations: 24 kB / 1.336 GB, free: 7.375 MB / 1.029 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.0005733/0.3936, allocations: 0.8359 MB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.3937, allocations: 63.89 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3937, allocations: 0 / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.3937, allocations: 0 / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.3944, allocations: 489.2 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.3983, allocations: 3.266 MB / 1.34 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.3987, allocations: 0.7749 MB / 1.341 GB, free: 1.785 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.976e-05/0.3988, allocations: 49.61 kB / 1.341 GB, free: 1.738 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3989, allocations: 59.42 kB / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3989, allocations: 3.938 kB / 1.341 GB, free: 1.676 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.4351, allocations: 4.73 MB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.77, allocations: 11.94 kB / 1.346 GB, free: 13.07 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.75362670305185]