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.001391/0.001391, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001609/0.001609, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.805 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.771/2.771, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] 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="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: 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.002077/0.002077, allocations: 66.73 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3335, allocations: 170 MB / 1.283 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002136/0.3356, allocations: 0.7289 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002415/0.3358, allocations: 55.81 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.3359, allocations: 7.938 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.336, allocations: 15.86 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.3361, allocations: 15.92 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.3362, allocations: 26.92 kB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.3364, allocations: 115.7 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.3367, allocations: 100.2 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.3367, allocations: 67.8 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3368, allocations: 79.69 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.3369, allocations: 15.94 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.314e-05/0.3369, allocations: 12 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.337, allocations: 47.86 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.3371, allocations: 75.48 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.3373, allocations: 236.7 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3373, allocations: 0 / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3373, allocations: 0 / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.3373, allocations: 0 / 1.284 GB, free: 10.79 MB / 0.9825 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.0005636/0.3379, allocations: 443.5 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3379, allocations: 8.031 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.24e-05/0.338, allocations: 54.73 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.3381, allocations: 28.75 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.3384, allocations: 199.4 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3384, allocations: 8.75 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.3384, allocations: 24.31 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.339, allocations: 348.9 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.339, allocations: 0 / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.339, allocations: 4 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.339, allocations: 12 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.3394, allocations: 275.8 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.3408, allocations: 1.046 MB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3409, allocations: 169.1 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.3409, allocations: 80.14 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.3409, allocations: 75.28 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/0.341, allocations: 113.9 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.341, allocations: 0 / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.665e-05/0.3411, allocations: 49.56 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.3412, allocations: 126.7 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006085/0.3418, allocations: 0.5081 MB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3418, allocations: 29.7 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.342, allocations: 175.9 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.342, allocations: 0 / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.342, allocations: 29.7 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3422, allocations: 338.8 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.3423, allocations: 47.95 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.3424, allocations: 102.8 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.3426, allocations: 118.7 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3426, allocations: 0 / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003826/0.343, allocations: 193.3 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.343, allocations: 7.938 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.343, allocations: 4.25 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.343, allocations: 4 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3432, allocations: 19.98 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3432, allocations: 7.938 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3433, allocations: 39.72 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3433, allocations: 7.938 kB / 1.289 GB, free: 5.895 MB / 0.9825 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.0002164/0.3435, allocations: 245.1 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.3436, allocations: 136.7 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.697e-05/0.3437, allocations: 134.8 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001036/0.3438, allocations: 180.3 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001046/0.3439, allocations: 184.2 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.981e-05/0.344, allocations: 186 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.3444, allocations: 452.2 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.147e-05/0.3445, allocations: 101 kB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.3445, allocations: 101 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.949e-05/0.3446, allocations: 196.2 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.106e-05/0.3447, allocations: 176.3 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.597e-05/0.3448, allocations: 184.2 kB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.312e-05/0.3449, allocations: 180.3 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.3451, allocations: 331.6 kB / 1.291 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.3453, allocations: 140.8 kB / 1.291 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.3454, allocations: 188.2 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3455, allocations: 113 kB / 1.292 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/0.3456, allocations: 180.6 kB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/0.3457, allocations: 104.9 kB / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004259/0.3461, allocations: 367 kB / 1.292 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3461, allocations: 0 / 1.292 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002788/0.3464, allocations: 24 kB / 1.292 GB, free: 1.879 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.0006547/0.347, allocations: 0.8359 MB / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.3472, allocations: 71.95 kB / 1.293 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3472, allocations: 0 / 1.293 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.3472, allocations: 0 / 1.293 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.3478, allocations: 491.7 kB / 1.294 GB, free: 468 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.3518, allocations: 3.288 MB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.352, allocations: 168.6 kB / 1.297 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.3521, allocations: 57.48 kB / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3522, allocations: 59.42 kB / 1.297 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of SimCode: time 7.62e-07/0.3522, allocations: 0 / 1.297 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.3872, allocations: 5.23 MB / 1.302 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.97, allocations: 12.17 kB / 1.302 GB, free: 7.66 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.585247461218387]