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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 108.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002949/0.002949, allocations: 75.88 kB / 1.104 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.86/0.863, allocations: 168.7 MB / 1.269 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.003288/0.8663, allocations: 0.7469 MB / 1.27 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000486/0.8667, allocations: 59.83 kB / 1.27 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.8669, allocations: 7.938 kB / 1.27 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.8671, allocations: 15.8 kB / 1.27 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.8672, allocations: 15.92 kB / 1.27 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.8675, allocations: 30.62 kB / 1.27 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.8679, allocations: 123.7 kB / 1.27 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.8682, allocations: 128.5 kB / 1.27 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.8683, allocations: 71.78 kB / 1.27 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.8685, allocations: 75.62 kB / 1.27 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.8686, allocations: 12 kB / 1.27 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.267e-05/0.8686, allocations: 12 kB / 1.27 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.8687, allocations: 47.86 kB / 1.27 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.8689, allocations: 87.42 kB / 1.27 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.8693, allocations: 244.7 kB / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.8693, allocations: 0 / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.125e-06/0.8693, allocations: 0 / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.8693, allocations: 0 / 1.27 GB, free: 3.5 MB / 0.9669 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.0008618/0.8702, allocations: 0.497 MB / 1.271 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.8702, allocations: 8.031 kB / 1.271 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.8703, allocations: 62.72 kB / 1.271 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.8704, allocations: 20.8 kB / 1.271 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.8708, allocations: 264.5 kB / 1.271 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.8708, allocations: 12.75 kB / 1.271 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.8709, allocations: 20.38 kB / 1.271 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005881/0.8714, allocations: 340.9 kB / 1.272 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.8715, allocations: 0 / 1.272 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.8715, allocations: 4 kB / 1.272 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/0.8715, allocations: 15.98 kB / 1.272 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.8719, allocations: 259.8 kB / 1.272 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.8735, allocations: 1.084 MB / 1.273 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.8736, allocations: 177.1 kB / 1.273 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.8736, allocations: 84.17 kB / 1.273 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.8737, allocations: 79.28 kB / 1.273 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.205e-05/0.8737, allocations: 110 kB / 1.273 GB, free: 304 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.8737, allocations: 0 / 1.273 GB, free: 304 kB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001404/0.8739, allocations: 57.44 kB / 1.273 GB, free: 240 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/0.874, allocations: 126.7 kB / 1.274 GB, free: 100 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000701/0.8747, allocations: 0.4964 MB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.8747, allocations: 29.7 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.8748, allocations: 167.9 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-06/0.8748, allocations: 4 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.8749, allocations: 29.7 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.8751, allocations: 338.8 kB / 1.275 GB, free: 15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.8752, allocations: 55.89 kB / 1.275 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.8753, allocations: 97.89 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.8755, allocations: 105.9 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8755, allocations: 0 / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003764/0.8759, allocations: 189.3 kB / 1.275 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.8759, allocations: 7.938 kB / 1.275 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.8759, allocations: 3.984 kB / 1.275 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.8759, allocations: 4 kB / 1.275 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.876, allocations: 28.14 kB / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.8761, allocations: 4 kB / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.8762, allocations: 39.77 kB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.8762, allocations: 8 kB / 1.275 GB, free: 14.42 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.0002184/0.8764, allocations: 245.1 kB / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.8766, allocations: 132.7 kB / 1.275 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.8767, allocations: 130.8 kB / 1.276 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.503e-05/0.8768, allocations: 184.3 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001002/0.8769, allocations: 188.2 kB / 1.276 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.73e-05/0.8769, allocations: 176.3 kB / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.8774, allocations: 493 kB / 1.277 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.216e-05/0.8774, allocations: 102.5 kB / 1.277 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.8775, allocations: 105 kB / 1.277 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-05/0.8776, allocations: 188.1 kB / 1.277 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-05/0.8777, allocations: 180.3 kB / 1.277 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.487e-05/0.8778, allocations: 188.2 kB / 1.277 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.729e-05/0.8779, allocations: 180.3 kB / 1.277 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.8781, allocations: 327.6 kB / 1.278 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.8783, allocations: 213.9 kB / 1.278 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.8785, allocations: 188.1 kB / 1.278 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.8786, allocations: 109 kB / 1.278 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.8787, allocations: 176.3 kB / 1.278 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/0.8787, allocations: 109.2 kB / 1.279 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004428/0.8792, allocations: 363 kB / 1.279 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8792, allocations: 0 / 1.279 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002838/0.8795, allocations: 24 kB / 1.279 GB, free: 10.28 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.0006064/0.8801, allocations: 0.8402 MB / 1.28 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.8802, allocations: 71.86 kB / 1.28 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8802, allocations: 4 kB / 1.28 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.614e-06/0.8802, allocations: 3.938 kB / 1.28 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.8809, allocations: 488.7 kB / 1.28 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.885, allocations: 3.274 MB / 1.283 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.8855, allocations: 0.7749 MB / 1.284 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.8856, allocations: 45.53 kB / 1.284 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.8858, allocations: 63.41 kB / 1.284 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of SimCode: time 2.254e-06/0.8858, allocations: 0 / 1.284 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.9149, allocations: 4.6 MB / 1.289 GB, free: 56 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.611/9.526, allocations: 8.828 kB / 1.289 GB, free: 52 kB / 0.9825 GB " [Timeout remaining time 290] (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_2/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: 15.44612431107089]