Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001832/0.001832, allocations: 109.4 kB / 16.46 MB, free: 6.387 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.002195/0.002195, allocations: 216.8 kB / 19.43 MB, free: 3.73 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.506/1.506, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.151/3.151, allocations: 0.49 GB / 0.7916 GB, free: 33.53 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.MatrixMin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_12_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.002054/0.002054, allocations: 80 kB / 1.149 GB, free: 26.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3617, allocations: 176.1 MB / 1.321 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002158/0.3639, allocations: 0.7556 MB / 1.322 GB, free: 2.512 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.3641, allocations: 55.83 kB / 1.322 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.3642, allocations: 3.938 kB / 1.322 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.3643, allocations: 15.86 kB / 1.322 GB, free: 2.438 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.3644, allocations: 15.92 kB / 1.322 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.3645, allocations: 35.08 kB / 1.322 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.3647, allocations: 127.6 kB / 1.322 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.365, allocations: 128.5 kB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3651, allocations: 71.78 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3653, allocations: 75.62 kB / 1.322 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.3653, allocations: 12 kB / 1.322 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.138e-05/0.3653, allocations: 12 kB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.058e-05/0.3654, allocations: 47.86 kB / 1.322 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.3655, allocations: 83.42 kB / 1.322 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.3658, allocations: 251.6 kB / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3658, allocations: 0 / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3658, allocations: 0 / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.3659, allocations: 4 kB / 1.322 GB, free: 1.59 MB / 1.014 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.0007227/0.3666, allocations: 0.4923 MB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.3666, allocations: 15.98 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.223e-05/0.3667, allocations: 54.73 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.3668, allocations: 28.75 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.3671, allocations: 251.9 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3671, allocations: 20.69 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.3671, allocations: 24.31 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005248/0.3677, allocations: 344.9 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3677, allocations: 0 / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.3677, allocations: 12 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/0.3677, allocations: 15.94 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.3681, allocations: 267.8 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.3696, allocations: 1.088 MB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3697, allocations: 169.1 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.3697, allocations: 80.14 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.3698, allocations: 79.28 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/0.3698, allocations: 117.9 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.3698, allocations: 0 / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001208/0.3699, allocations: 49.55 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.37, allocations: 130.7 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006092/0.3706, allocations: 0.4965 MB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3706, allocations: 25.7 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3708, allocations: 171.9 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.3708, allocations: 8 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.3709, allocations: 33.66 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.371, allocations: 334.8 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.3711, allocations: 51.97 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3712, allocations: 110.8 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3714, allocations: 110.8 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3714, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000329/0.3717, allocations: 197.3 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3717, allocations: 7.938 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3717, allocations: 4 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3717, allocations: 256 / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3719, allocations: 23.98 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3719, allocations: 7.938 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.372, allocations: 35.73 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.372, allocations: 7.984 kB / 1.327 GB, free: 12.47 MB / 1.029 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.0002006/0.3722, allocations: 249 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3723, allocations: 136.7 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.3724, allocations: 134.8 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.148e-05/0.3725, allocations: 180.3 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-05/0.3726, allocations: 184.2 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.883e-05/0.3727, allocations: 180.2 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003914/0.3731, allocations: 497 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-05/0.3731, allocations: 101 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.3732, allocations: 105 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.3733, allocations: 192.2 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.314e-05/0.3734, allocations: 176.3 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-05/0.3735, allocations: 180.2 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.45e-05/0.3735, allocations: 188.2 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.3737, allocations: 327.6 kB / 1.33 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.3739, allocations: 225.8 kB / 1.33 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.374, allocations: 180.5 kB / 1.33 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3741, allocations: 105 kB / 1.33 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.992e-05/0.3742, allocations: 192.3 kB / 1.331 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.3743, allocations: 108.9 kB / 1.331 GB, free: 8.676 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004837/0.3748, allocations: 363 kB / 1.331 GB, free: 8.324 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3748, allocations: 0 / 1.331 GB, free: 8.324 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003099/0.3751, allocations: 24 kB / 1.331 GB, free: 8.301 MB / 1.029 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.0005742/0.3756, allocations: 0.8359 MB / 1.332 GB, free: 7.438 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.3758, allocations: 67.83 kB / 1.332 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3758, allocations: 0 / 1.332 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.3758, allocations: 0 / 1.332 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.3765, allocations: 485.6 kB / 1.332 GB, free: 6.891 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.3803, allocations: 3.311 MB / 1.336 GB, free: 3.453 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.3807, allocations: 0.7788 MB / 1.336 GB, free: 2.648 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.921e-05/0.3808, allocations: 45.53 kB / 1.336 GB, free: 2.605 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3809, allocations: 67.41 kB / 1.336 GB, free: 2.539 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3809, allocations: 0 / 1.336 GB, free: 2.539 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.4124, allocations: 4.618 MB / 1.341 GB, free: 14.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.454/8.867, allocations: 18.91 kB / 1.341 GB, free: 14.01 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.532765998970717]