Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.0008247/0.0008247, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008462/0.0008462, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.905/0.905, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.665/1.665, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.MatrixMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.278e-05, allocations: 5.094 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001403/0.001425, allocations: 0.7378 MB / 0.9513 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000196/0.001621, allocations: 55.77 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.001663, allocations: 7.938 kB / 0.9513 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.001784, allocations: 19.86 kB / 0.9514 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.229e-05/0.001826, allocations: 15.92 kB / 0.9514 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.00196, allocations: 27.95 kB / 0.9514 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.002226, allocations: 119.6 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.002378, allocations: 84.89 kB / 0.9516 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.002451, allocations: 95.8 kB / 0.9517 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.00252, allocations: 67.88 kB / 0.9518 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.00255, allocations: 16 kB / 0.9518 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.002567, allocations: 8 kB / 0.9518 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.002622, allocations: 63.77 kB / 0.9518 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.002664, allocations: 43.84 kB / 0.9519 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.002835, allocations: 235.2 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.002837, allocations: 4 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002838, allocations: 0 / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.002843, allocations: 0 / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004444/0.003287, allocations: 429.6 kB / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.003325, allocations: 12.03 kB / 0.9525 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.003369, allocations: 66.66 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.003402, allocations: 24.8 kB / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.003582, allocations: 201.3 kB / 0.9528 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.003595, allocations: 16.75 kB / 0.9528 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.003615, allocations: 24.34 kB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.003937, allocations: 333.6 kB / 0.9532 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.003946, allocations: 192 / 0.9532 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.00396, allocations: 8.375 kB / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.003988, allocations: 27.86 kB / 0.9532 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.004198, allocations: 259.9 kB / 0.9535 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007712/0.004969, allocations: 1.034 MB / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.852e-05/0.005028, allocations: 169.1 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.005053, allocations: 84.08 kB / 0.9547 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.00507, allocations: 79.28 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.005099, allocations: 105.8 kB / 0.9549 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.0051, allocations: 0 / 0.9549 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.535e-05/0.005165, allocations: 57.64 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002435/0.005409, allocations: 126.7 kB / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.005752, allocations: 0.5004 MB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.006e-06/0.00576, allocations: 25.7 kB / 0.9556 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/0.005852, allocations: 175.8 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.005854, allocations: 4 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.005892, allocations: 29.7 kB / 0.9558 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.005973, allocations: 342.8 kB / 0.9561 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-05/0.00602, allocations: 51.89 kB / 0.9561 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.333e-05/0.006083, allocations: 102.8 kB / 0.9562 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.5e-05/0.006178, allocations: 122.7 kB / 0.9564 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.00618, allocations: 0 / 0.9564 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002092/0.00639, allocations: 193.2 kB / 0.9565 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.006403, allocations: 8 kB / 0.9566 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.006408, allocations: 0 / 0.9566 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.006421, allocations: 7.938 kB / 0.9566 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.006498, allocations: 24.17 kB / 0.9566 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.006503, allocations: 4 kB / 0.9566 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.006562, allocations: 31.78 kB / 0.9566 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.006573, allocations: 8 kB / 0.9566 GB, free: 12.95 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001047/0.006678, allocations: 245.1 kB / 0.9569 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.006728, allocations: 144.8 kB / 0.957 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.00678, allocations: 134.6 kB / 0.9571 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-05/0.006818, allocations: 184.8 kB / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.791e-05/0.006856, allocations: 184.2 kB / 0.9575 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/0.006891, allocations: 176.3 kB / 0.9576 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.007076, allocations: 452.2 kB / 0.9581 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/0.007096, allocations: 109 kB / 0.9582 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.007118, allocations: 109.1 kB / 0.9583 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.764e-05/0.007156, allocations: 176.3 kB / 0.9585 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.007196, allocations: 184.3 kB / 0.9586 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.783e-05/0.007234, allocations: 188.1 kB / 0.9588 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.321e-05/0.007267, allocations: 176.3 kB / 0.959 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.263e-05/0.00736, allocations: 327.6 kB / 0.9593 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.007421, allocations: 148.8 kB / 0.9594 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.007473, allocations: 180.2 kB / 0.9596 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/0.007537, allocations: 112.9 kB / 0.9597 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.007579, allocations: 184.2 kB / 0.9599 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.007602, allocations: 113 kB / 0.96 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002419/0.007844, allocations: 363 kB / 0.9603 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007844, allocations: 0 / 0.9603 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001805/0.008025, allocations: 24 kB / 0.9604 GB, free: 8.914 MB / 0.9167 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.0002579/0.008283, allocations: 0.8281 MB / 0.9612 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.008385, allocations: 64.02 kB / 0.9612 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.008387, allocations: 0.5 kB / 0.9612 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.31e-07/0.008388, allocations: 4 kB / 0.9612 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.00874, allocations: 491.8 kB / 0.9617 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.01112, allocations: 3.331 MB / 0.965 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.625e-05/0.01122, allocations: 168.1 kB / 0.9651 GB, free: 3.867 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.94e-05/0.01128, allocations: 49.61 kB / 0.9652 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.01135, allocations: 68.47 kB / 0.9652 GB, free: 3.754 MB / 0.9167 GB Notification: Performance of SimCode: time 4.21e-07/0.01135, allocations: 0 / 0.9652 GB, free: 3.754 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.02663, allocations: 5.353 MB / 0.9705 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.783, allocations: 14.17 kB / 0.9705 GB, free: 14.54 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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: 10.68821182474494]