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.001471/0.001471, allocations: 116.8 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.001602/0.001602, allocations: 212 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.61/1.61, 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 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.856/2.856, allocations: 476.7 MB / 0.7678 GB, free: 9.359 MB / 0.6075 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.MatrixMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",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.002091/0.002091, allocations: 71.89 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9137/0.9158, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002205/0.918, allocations: 0.7564 MB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002695/0.9183, allocations: 57.39 kB / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.9183, allocations: 6.125 kB / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.9185, allocations: 15.17 kB / 1.28 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.9185, allocations: 16.41 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.9187, allocations: 30.64 kB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.919, allocations: 123.3 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.9193, allocations: 131.1 kB / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.9194, allocations: 66.47 kB / 1.28 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.9195, allocations: 77.75 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.9196, allocations: 11.38 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.226e-05/0.9196, allocations: 16.59 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.9197, allocations: 50.39 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.9198, allocations: 85.12 kB / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.9202, allocations: 237.7 kB / 1.281 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9202, allocations: 1.781 kB / 1.281 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9202, allocations: 7.938 kB / 1.281 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.9202, allocations: 0 / 1.281 GB, free: 10.86 MB / 0.9981 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.0007634/0.921, allocations: 0.4938 MB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.921, allocations: 10.56 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.81e-05/0.921, allocations: 5.844 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.9211, allocations: 56.91 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.9212, allocations: 28.31 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.9215, allocations: 250 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.9215, allocations: 24.14 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.9216, allocations: 17.28 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.9223, allocations: 341.4 kB / 1.282 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.9223, allocations: 3.984 kB / 1.282 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.9223, allocations: 11.06 kB / 1.282 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/0.9223, allocations: 17.72 kB / 1.282 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.9227, allocations: 262.3 kB / 1.282 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.924, allocations: 1.097 MB / 1.283 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.786e-05/0.9241, allocations: 171.2 kB / 1.283 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.9241, allocations: 84.17 kB / 1.283 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.9242, allocations: 80.03 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.9242, allocations: 111.2 kB / 1.284 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.9242, allocations: 0 / 1.284 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001057/0.9243, allocations: 53.27 kB / 1.284 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.9244, allocations: 128.8 kB / 1.284 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/0.925, allocations: 0.4924 MB / 1.284 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.925, allocations: 26.27 kB / 1.284 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.9252, allocations: 181.8 kB / 1.284 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.9252, allocations: 1.188 kB / 1.284 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.9253, allocations: 37.86 kB / 1.284 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.9254, allocations: 336.2 kB / 1.285 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.708e-05/0.9255, allocations: 50.59 kB / 1.285 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.9256, allocations: 101.2 kB / 1.285 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.9258, allocations: 116.3 kB / 1.285 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9258, allocations: 0 / 1.285 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003447/0.9261, allocations: 197.2 kB / 1.285 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9262, allocations: 6.797 kB / 1.285 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9262, allocations: 2.219 kB / 1.285 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.9262, allocations: 6.781 kB / 1.285 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.9263, allocations: 19.98 kB / 1.285 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.9263, allocations: 6.406 kB / 1.285 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.9264, allocations: 35.64 kB / 1.285 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.9264, allocations: 8.109 kB / 1.285 GB, free: 7.496 MB / 0.9981 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.0001886/0.9266, allocations: 246.3 kB / 1.286 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.9267, allocations: 128.6 kB / 1.286 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.93e-05/0.9268, allocations: 139.6 kB / 1.286 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-05/0.9269, allocations: 182.1 kB / 1.286 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-05/0.927, allocations: 186 kB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.881e-05/0.927, allocations: 182.8 kB / 1.286 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.9274, allocations: 492.2 kB / 1.287 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.566e-05/0.9274, allocations: 107.5 kB / 1.287 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.9275, allocations: 113.5 kB / 1.287 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.371e-05/0.9276, allocations: 182.9 kB / 1.287 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.798e-05/0.9276, allocations: 177.5 kB / 1.287 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.667e-05/0.9277, allocations: 185.9 kB / 1.288 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.106e-05/0.9278, allocations: 179.2 kB / 1.288 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.928, allocations: 334.5 kB / 1.288 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.9281, allocations: 220 kB / 1.288 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.843e-05/0.9282, allocations: 181.9 kB / 1.288 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.9283, allocations: 105.6 kB / 1.289 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.9284, allocations: 179 kB / 1.289 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.9285, allocations: 110 kB / 1.289 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004206/0.9289, allocations: 369 kB / 1.289 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9289, allocations: 1.125 kB / 1.289 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002759/0.9292, allocations: 23.69 kB / 1.289 GB, free: 3.785 MB / 0.9981 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.0005276/0.9297, allocations: 0.8337 MB / 1.29 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.9299, allocations: 73.09 kB / 1.29 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9299, allocations: 0 / 1.29 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.9299, allocations: 0.9062 kB / 1.29 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.9305, allocations: 485.3 kB / 1.291 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.9342, allocations: 3.308 MB / 1.294 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.9346, allocations: 0.7753 MB / 1.295 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.9347, allocations: 48.84 kB / 1.295 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.9348, allocations: 62.77 kB / 1.295 GB, free: 15.82 MB / 1.014 GB Notification: Performance of SimCode: time 4.5e-07/0.9348, allocations: 3.938 kB / 1.295 GB, free: 15.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.9571, allocations: 4.67 MB / 1.299 GB, free: 15.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.605/9.562, allocations: 16.34 kB / 1.299 GB, free: 15.21 MB / 1.014 GB " [Timeout remaining time 290] (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/jenkins1/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: 16.032308880006894]