Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.258/3.258, allocations: 497.2 MB / 0.7811 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 70.48 kB / 1.134 GB, free: 33.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3486, allocations: 173.9 MB / 1.304 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.00217/0.3508, allocations: 0.7552 MB / 1.305 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002584/0.3511, allocations: 55.83 kB / 1.305 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.3511, allocations: 0 / 1.305 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.3513, allocations: 19.8 kB / 1.305 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.041e-05/0.3513, allocations: 11.92 kB / 1.305 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.3515, allocations: 27.97 kB / 1.305 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3517, allocations: 115.7 kB / 1.305 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.3519, allocations: 132.5 kB / 1.305 GB, free: 384 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.352, allocations: 71.73 kB / 1.305 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.14e-05/0.3521, allocations: 67.7 kB / 1.305 GB, free: 244 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.3521, allocations: 12 kB / 1.305 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.914e-05/0.3522, allocations: 12 kB / 1.305 GB, free: 220 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.788e-05/0.3522, allocations: 59.77 kB / 1.305 GB, free: 160 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.94e-05/0.3523, allocations: 87.42 kB / 1.305 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.3527, allocations: 247.7 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3527, allocations: 0 / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3527, allocations: 0 / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.3527, allocations: 0 / 1.306 GB, free: 15.82 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.0006599/0.3533, allocations: 0.4948 MB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3534, allocations: 8.922 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.282e-05/0.3534, allocations: 54.73 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.3535, allocations: 28.75 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.3539, allocations: 257 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3539, allocations: 16.75 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.3539, allocations: 20.38 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.3544, allocations: 340.9 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3544, allocations: 4 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.3545, allocations: 7.984 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.3545, allocations: 23.92 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.3549, allocations: 267.8 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3563, allocations: 1.092 MB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.3564, allocations: 173.1 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.3564, allocations: 80.14 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.3564, allocations: 79.28 kB / 1.308 GB, free: 12.72 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/0.3565, allocations: 110 kB / 1.309 GB, free: 12.6 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3565, allocations: 0 / 1.309 GB, free: 12.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001142/0.3566, allocations: 53.5 kB / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.3567, allocations: 126.7 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006036/0.3573, allocations: 0.4926 MB / 1.309 GB, free: 11.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3573, allocations: 25.7 kB / 1.309 GB, free: 11.87 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.3574, allocations: 179.9 kB / 1.309 GB, free: 11.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.3574, allocations: 0 / 1.309 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.3575, allocations: 37.66 kB / 1.309 GB, free: 11.65 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3577, allocations: 342.8 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.3577, allocations: 47.95 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.3578, allocations: 106.8 kB / 1.31 GB, free: 11.13 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.358, allocations: 114.7 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.358, allocations: 4 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003253/0.3583, allocations: 189.3 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3584, allocations: 8.875 kB / 1.31 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.3584, allocations: 11.97 kB / 1.31 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3584, allocations: 4 kB / 1.31 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3585, allocations: 20.25 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.3585, allocations: 7.984 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3586, allocations: 39.67 kB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3586, allocations: 8 kB / 1.31 GB, free: 10.7 MB / 1.014 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.0001843/0.3588, allocations: 253 kB / 1.311 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/0.3589, allocations: 128.8 kB / 1.311 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.951e-05/0.359, allocations: 142.8 kB / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.536e-05/0.3591, allocations: 180.3 kB / 1.311 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.801e-05/0.3591, allocations: 180.2 kB / 1.311 GB, free: 9.789 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.717e-05/0.3592, allocations: 176.3 kB / 1.311 GB, free: 9.609 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.3596, allocations: 497.1 kB / 1.312 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-05/0.3596, allocations: 104.9 kB / 1.312 GB, free: 8.957 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.3597, allocations: 105 kB / 1.312 GB, free: 8.848 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.896e-05/0.3598, allocations: 192.2 kB / 1.312 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.459e-05/0.3598, allocations: 176.3 kB / 1.312 GB, free: 8.473 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-05/0.3599, allocations: 180.3 kB / 1.313 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.732e-05/0.36, allocations: 180.2 kB / 1.313 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3602, allocations: 331.6 kB / 1.313 GB, free: 7.758 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.3603, allocations: 229.8 kB / 1.313 GB, free: 7.508 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.3604, allocations: 176.5 kB / 1.313 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3606, allocations: 108.9 kB / 1.314 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.3606, allocations: 180.3 kB / 1.314 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.3607, allocations: 112.9 kB / 1.314 GB, free: 6.914 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004253/0.3611, allocations: 371 kB / 1.314 GB, free: 6.555 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3611, allocations: 0 / 1.314 GB, free: 6.555 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002838/0.3614, allocations: 24 kB / 1.314 GB, free: 6.531 MB / 1.014 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.0005457/0.3619, allocations: 0.832 MB / 1.315 GB, free: 5.672 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.3621, allocations: 71.77 kB / 1.315 GB, free: 5.602 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3621, allocations: 0 / 1.315 GB, free: 5.602 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.3621, allocations: 0 / 1.315 GB, free: 5.602 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006385/0.3627, allocations: 489.5 kB / 1.316 GB, free: 5.121 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.3666, allocations: 3.303 MB / 1.319 GB, free: 1.691 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.367, allocations: 0.7749 MB / 1.32 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.3671, allocations: 53.52 kB / 1.32 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/0.3672, allocations: 59.42 kB / 1.32 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of SimCode: time 8.21e-07/0.3672, allocations: 0 / 1.32 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.3966, allocations: 4.627 MB / 1.324 GB, free: 12.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.706, allocations: 4.656 kB / 1.324 GB, free: 12.26 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.637352779041976]