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.001607/0.001607, allocations: 114.3 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.001741/0.001741, allocations: 216 kB / 22.25 MB, free: 5.082 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 8.008 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.989/2.989, allocations: 476.7 MB / 0.7707 GB, free: 4.305 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_11_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.002114/0.002114, allocations: 66.52 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3653, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002612/0.3679, allocations: 0.7532 MB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002951/0.3682, allocations: 51.83 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.3682, allocations: 3.938 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.3684, allocations: 23.78 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.3684, allocations: 7.984 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.3687, allocations: 23.98 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.3689, allocations: 135.6 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.3692, allocations: 80.86 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3693, allocations: 71.78 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3694, allocations: 75.62 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.3694, allocations: 12 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.404e-05/0.3695, allocations: 12 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.3696, allocations: 51.84 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.3697, allocations: 83.42 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.37, allocations: 234.5 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.37, allocations: 4 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.964e-06/0.37, allocations: 0 / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.37, allocations: 7.875 kB / 1.285 GB, free: 9.977 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.0006912/0.3707, allocations: 429.7 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.3708, allocations: 12.03 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.527e-05/0.3709, allocations: 50.73 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.3709, allocations: 32.69 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.3713, allocations: 199.4 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.3713, allocations: 16.75 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.3714, allocations: 20.38 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.3719, allocations: 340.9 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3719, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.3719, allocations: 8 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.372, allocations: 12 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.3723, allocations: 270 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.3737, allocations: 1.061 MB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.3739, allocations: 173.1 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.3739, allocations: 80.14 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.374, allocations: 79.28 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.374, allocations: 106 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.374, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001285/0.3741, allocations: 57.48 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.3742, allocations: 134.6 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/0.3748, allocations: 0.4926 MB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3748, allocations: 25.7 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.375, allocations: 171.9 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-06/0.375, allocations: 8 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.3751, allocations: 29.7 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3752, allocations: 334.8 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/0.3753, allocations: 47.97 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.3754, allocations: 93.95 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3755, allocations: 109.8 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3755, allocations: 4 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003301/0.3759, allocations: 185.3 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3759, allocations: 7.938 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3759, allocations: 0 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3759, allocations: 4 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.376, allocations: 19.98 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.376, allocations: 7.938 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.3762, allocations: 43.95 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.3762, allocations: 11.98 kB / 1.29 GB, free: 5.109 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.0001928/0.3764, allocations: 245.1 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/0.3765, allocations: 124.8 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.101e-05/0.3766, allocations: 138.7 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.318e-05/0.3766, allocations: 180.3 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.273e-05/0.3767, allocations: 184.2 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.303e-05/0.3768, allocations: 182 kB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.3772, allocations: 456.2 kB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-05/0.3772, allocations: 124.8 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.3773, allocations: 101 kB / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.749e-05/0.3773, allocations: 188.2 kB / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.143e-05/0.3774, allocations: 180.3 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.471e-05/0.3775, allocations: 180.3 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.16e-05/0.3776, allocations: 184.2 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3778, allocations: 327.6 kB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.3779, allocations: 148.8 kB / 1.292 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.378, allocations: 180.2 kB / 1.292 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3781, allocations: 108.9 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.3782, allocations: 180.2 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.3783, allocations: 105.2 kB / 1.293 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003966/0.3787, allocations: 363 kB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3787, allocations: 4 kB / 1.293 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002722/0.3789, allocations: 28 kB / 1.293 GB, free: 1.086 MB / 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.0004963/0.3794, allocations: 0.8281 MB / 1.294 GB, free: 236 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.3796, allocations: 68.16 kB / 1.294 GB, free: 168 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3796, allocations: 0 / 1.294 GB, free: 168 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.3796, allocations: 3.938 kB / 1.294 GB, free: 164 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006436/0.3802, allocations: 484.8 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/0.3841, allocations: 3.267 MB / 1.298 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.3845, allocations: 0.7749 MB / 1.299 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.3846, allocations: 49.62 kB / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.3847, allocations: 63.41 kB / 1.299 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.3847, allocations: 0 / 1.299 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.4195, allocations: 4.727 MB / 1.303 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 15.25 kB / 1.303 GB, free: 6.785 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.983281682012603]