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.001617/0.001617, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001485/0.001485, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.287/3.287, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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="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.002008/0.002008, allocations: 67.03 kB / 1.171 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.449, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002426/0.4514, allocations: 0.7435 MB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002919/0.4517, allocations: 56.23 kB / 1.346 GB, free: 15.63 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.4518, allocations: 7.938 kB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.452, allocations: 23.8 kB / 1.346 GB, free: 15.6 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.452, allocations: 11.92 kB / 1.346 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.4522, allocations: 27.95 kB / 1.346 GB, free: 15.56 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.4525, allocations: 123.7 kB / 1.346 GB, free: 15.44 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.4528, allocations: 84.62 kB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.4529, allocations: 75.77 kB / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.453, allocations: 79.64 kB / 1.347 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.4531, allocations: 11.94 kB / 1.347 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.188e-05/0.4531, allocations: 12 kB / 1.347 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.4532, allocations: 51.86 kB / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.4533, allocations: 87.42 kB / 1.347 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.4537, allocations: 239.2 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.4537, allocations: 0 / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.476e-06/0.4537, allocations: 0 / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.4537, allocations: 0 / 1.347 GB, free: 14.8 MB / 1.045 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.0008336/0.4546, allocations: 445.5 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.885e-05/0.4546, allocations: 8.031 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.912e-05/0.4547, allocations: 4.562 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.124e-05/0.4547, allocations: 58.73 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.4548, allocations: 20.8 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.4552, allocations: 198.1 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.4552, allocations: 12.75 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.4552, allocations: 24.36 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.4559, allocations: 348.4 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4559, allocations: 0 / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.4559, allocations: 4 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.4559, allocations: 15.98 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.4563, allocations: 263.8 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.4577, allocations: 1.053 MB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.4578, allocations: 177.1 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.4579, allocations: 80.14 kB / 1.35 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.4579, allocations: 79.27 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.458, allocations: 114 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.458, allocations: 0 / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001348/0.4581, allocations: 53.5 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.4582, allocations: 126.7 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/0.4588, allocations: 0.4926 MB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.4589, allocations: 25.7 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.4591, allocations: 175.9 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-06/0.4591, allocations: 0 / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.4591, allocations: 37.64 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.4594, allocations: 342.8 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.968e-05/0.4594, allocations: 43.97 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4596, allocations: 93.95 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.4597, allocations: 109.8 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4597, allocations: 0 / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003598/0.4601, allocations: 185.3 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.4601, allocations: 11.94 kB / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4601, allocations: 3.984 kB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.4601, allocations: 4 kB / 1.351 GB, free: 9.984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.4603, allocations: 23.94 kB / 1.351 GB, free: 9.961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.4603, allocations: 3.984 kB / 1.351 GB, free: 9.957 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.4604, allocations: 35.78 kB / 1.351 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.4604, allocations: 4 kB / 1.351 GB, free: 9.918 MB / 1.045 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.0002394/0.4607, allocations: 250 kB / 1.352 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.4608, allocations: 136.7 kB / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.4609, allocations: 130.8 kB / 1.352 GB, free: 9.391 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/0.461, allocations: 184.2 kB / 1.352 GB, free: 9.203 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.542e-05/0.4611, allocations: 180.3 kB / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/0.4612, allocations: 180.3 kB / 1.352 GB, free: 8.836 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.4615, allocations: 468.2 kB / 1.353 GB, free: 8.328 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-05/0.4616, allocations: 101 kB / 1.353 GB, free: 8.223 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.4616, allocations: 112.9 kB / 1.353 GB, free: 8.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.631e-05/0.4617, allocations: 184.2 kB / 1.353 GB, free: 7.918 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.029e-05/0.4618, allocations: 176.3 kB / 1.353 GB, free: 7.738 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.379e-05/0.4619, allocations: 188.1 kB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.861e-05/0.462, allocations: 180.3 kB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.4622, allocations: 331.8 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.4623, allocations: 148.8 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4624, allocations: 188.2 kB / 1.354 GB, free: 6.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4626, allocations: 105 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.4626, allocations: 180.2 kB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.4627, allocations: 109 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003854/0.4631, allocations: 363 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4631, allocations: 0 / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002715/0.4634, allocations: 24 kB / 1.355 GB, free: 5.891 MB / 1.045 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.0006014/0.464, allocations: 0.832 MB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.4641, allocations: 67.89 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4641, allocations: 448 / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.4641, allocations: 4 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/0.4648, allocations: 484.7 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.4686, allocations: 3.274 MB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.469, allocations: 0.7748 MB / 1.36 GB, free: 304 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.75e-05/0.4691, allocations: 53.55 kB / 1.361 GB, free: 252 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.4692, allocations: 63.42 kB / 1.361 GB, free: 188 kB / 1.045 GB Notification: Performance of SimCode: time 1.022e-06/0.4692, allocations: 0 / 1.361 GB, free: 188 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.4962, allocations: 4.757 MB / 1.365 GB, free: 11.58 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.95, allocations: 9.953 kB / 1.365 GB, free: 11.57 MB / 1.061 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.157405851001386]