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.001373/0.001373, allocations: 114.1 kB / 17.16 MB, free: 5.895 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.001672/0.001672, allocations: 215 kB / 20.13 MB, free: 2.949 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.103/3.103, allocations: 0.49 GB / 0.7923 GB, free: 1.477 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_12_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.002164/0.002164, allocations: 71.89 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.149, allocations: 176.1 MB / 1.322 GB, free: 24.84 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002207/1.151, allocations: 0.7483 MB / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002806/1.152, allocations: 52.14 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/1.152, allocations: 3.938 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001615/1.152, allocations: 18.23 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/1.152, allocations: 13.59 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/1.152, allocations: 31 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/1.152, allocations: 124.1 kB / 1.322 GB, free: 24.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/1.153, allocations: 129.6 kB / 1.323 GB, free: 24.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.728e-05/1.153, allocations: 71.67 kB / 1.323 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.134e-05/1.153, allocations: 75.89 kB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/1.153, allocations: 12.78 kB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.904e-05/1.153, allocations: 11.03 kB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.262e-05/1.153, allocations: 51.66 kB / 1.323 GB, free: 24.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.216e-05/1.153, allocations: 88.61 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/1.153, allocations: 234.1 kB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.153, allocations: 0 / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.627e-06/1.153, allocations: 0 / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.052e-05/1.153, allocations: 4 kB / 1.323 GB, free: 23.95 MB / 1.061 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.0006423/1.154, allocations: 0.4975 MB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/1.154, allocations: 15.52 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.677e-05/1.154, allocations: 6.375 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/1.154, allocations: 55.09 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/1.154, allocations: 28.41 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/1.154, allocations: 262.9 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/1.154, allocations: 13.06 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/1.154, allocations: 18.84 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/1.155, allocations: 337.2 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.155, allocations: 2.719 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/1.155, allocations: 8 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/1.155, allocations: 15 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/1.155, allocations: 268.6 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/1.156, allocations: 1.086 MB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.191e-05/1.156, allocations: 167.6 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/1.156, allocations: 88.11 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/1.156, allocations: 83.27 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/1.156, allocations: 116.8 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/1.156, allocations: 0 / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.184e-05/1.157, allocations: 49.45 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/1.157, allocations: 129.2 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005874/1.157, allocations: 0.4886 MB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/1.157, allocations: 25.7 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/1.157, allocations: 175.5 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/1.157, allocations: 4.484 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/1.157, allocations: 28.88 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.476e-05/1.157, allocations: 335.1 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/1.157, allocations: 48.42 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/1.158, allocations: 96.31 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/1.158, allocations: 104.3 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.158, allocations: 4 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003315/1.158, allocations: 187.5 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.158, allocations: 9.719 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.158, allocations: 1.812 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.158, allocations: 2.562 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/1.158, allocations: 18.11 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.158, allocations: 2.438 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/1.158, allocations: 41.36 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/1.158, allocations: 14.16 kB / 1.328 GB, free: 20.61 MB / 1.061 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.0001357/1.158, allocations: 247.2 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/1.159, allocations: 131.2 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/1.159, allocations: 134.9 kB / 1.328 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.159, allocations: 181.5 kB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.593e-05/1.159, allocations: 181.4 kB / 1.329 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/1.159, allocations: 181.4 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/1.159, allocations: 493.2 kB / 1.329 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/1.159, allocations: 114 kB / 1.329 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.42e-05/1.159, allocations: 106.2 kB / 1.329 GB, free: 18.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.689e-05/1.159, allocations: 181.5 kB / 1.33 GB, free: 18.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/1.159, allocations: 184.8 kB / 1.33 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.566e-05/1.159, allocations: 184.7 kB / 1.33 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.838e-05/1.159, allocations: 181.8 kB / 1.33 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/1.159, allocations: 324.5 kB / 1.331 GB, free: 17.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/1.159, allocations: 228.4 kB / 1.331 GB, free: 17.62 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/1.159, allocations: 181.2 kB / 1.331 GB, free: 17.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/1.159, allocations: 108.4 kB / 1.331 GB, free: 17.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/1.159, allocations: 176.8 kB / 1.331 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/1.159, allocations: 106.5 kB / 1.331 GB, free: 17.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004328/1.16, allocations: 364.8 kB / 1.332 GB, free: 16.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.16, allocations: 0 / 1.332 GB, free: 16.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002886/1.16, allocations: 27.88 kB / 1.332 GB, free: 16.9 MB / 1.061 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.0003324/1.161, allocations: 0.837 MB / 1.332 GB, free: 16.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001678/1.161, allocations: 72.64 kB / 1.333 GB, free: 16.05 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.161, allocations: 0 / 1.333 GB, free: 16.05 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/1.161, allocations: 1.156 kB / 1.333 GB, free: 16.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/1.161, allocations: 483.8 kB / 1.333 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/1.165, allocations: 3.274 MB / 1.336 GB, free: 13.72 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/1.165, allocations: 0.78 MB / 1.337 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001057/1.165, allocations: 50.83 kB / 1.337 GB, free: 13 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/1.165, allocations: 62.3 kB / 1.337 GB, free: 12.95 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/1.165, allocations: 0.5312 kB / 1.337 GB, free: 12.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/1.188, allocations: 4.643 MB / 1.342 GB, free: 12.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.683/9.871, allocations: 8.266 kB / 1.342 GB, free: 12.36 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.92379567399621]