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.001594/0.001594, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001998/0.001998, allocations: 222.7 kB / 22.25 MB, free: 5.258 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.809 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.177/3.177, allocations: 0.49 GB / 0.7951 GB, free: 35.39 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.002053/0.002053, allocations: 64.33 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3574, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002024/0.3594, allocations: 0.7248 MB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002479/0.3596, allocations: 64.23 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.3597, allocations: 3.938 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.3598, allocations: 15.86 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.3599, allocations: 11.92 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.36, allocations: 31.94 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3602, allocations: 131.6 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.3604, allocations: 80.84 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.181e-05/0.3605, allocations: 71.78 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3606, allocations: 79.62 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.3606, allocations: 12 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.569e-05/0.3607, allocations: 12 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.3607, allocations: 51.8 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.705e-05/0.3608, allocations: 63.61 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.3611, allocations: 243.2 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3611, allocations: 3.938 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3611, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.3611, allocations: 4 kB / 1.327 GB, free: 15.87 MB / 1.029 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.0006125/0.3617, allocations: 433.7 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3618, allocations: 8.031 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.394e-05/0.3618, allocations: 66.66 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.3619, allocations: 28.75 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.3622, allocations: 198.2 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.3622, allocations: 12.75 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.3623, allocations: 16.38 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.3628, allocations: 348.9 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3628, allocations: 3.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3628, allocations: 15.94 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.3628, allocations: 15.98 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.3632, allocations: 263.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.3646, allocations: 1.03 MB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.3648, allocations: 177.1 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.3648, allocations: 80.14 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.3649, allocations: 79.28 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.942e-05/0.365, allocations: 110 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.365, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001097/0.3651, allocations: 49.56 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.3652, allocations: 130.7 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.3658, allocations: 0.5042 MB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3658, allocations: 29.64 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.366, allocations: 175.8 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.366, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.3661, allocations: 33.7 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3662, allocations: 338.8 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.3663, allocations: 51.95 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3664, allocations: 98.83 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3666, allocations: 118.7 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3666, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003989/0.367, allocations: 193.5 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.367, allocations: 15.97 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.367, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.367, allocations: 7.938 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3671, allocations: 19.98 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3671, allocations: 0 / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.986e-05/0.3672, allocations: 31.78 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.3672, allocations: 8 kB / 1.332 GB, free: 10.97 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.0001987/0.3674, allocations: 253.5 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.3676, allocations: 132.7 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.3677, allocations: 134.8 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.172e-05/0.3678, allocations: 184.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.056e-05/0.3679, allocations: 180.3 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.449e-05/0.368, allocations: 184.1 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.3683, allocations: 452.3 kB / 1.333 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.848e-05/0.3683, allocations: 109 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.3684, allocations: 104.9 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/0.3685, allocations: 184.2 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/0.3686, allocations: 184.2 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.291e-05/0.3687, allocations: 176.3 kB / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.344e-05/0.3688, allocations: 180.2 kB / 1.334 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.369, allocations: 327.6 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.3691, allocations: 156.7 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.3692, allocations: 176.5 kB / 1.335 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.3694, allocations: 105 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.3695, allocations: 188.2 kB / 1.335 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.3695, allocations: 109 kB / 1.335 GB, free: 7.324 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004097/0.3699, allocations: 363 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3699, allocations: 0 / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002873/0.3702, allocations: 24 kB / 1.336 GB, free: 6.945 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.0006134/0.3708, allocations: 0.8383 MB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.371, allocations: 75.83 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.371, allocations: 0 / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.371, allocations: 0 / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.3717, allocations: 489 kB / 1.337 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.3755, allocations: 3.293 MB / 1.34 GB, free: 2.117 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.3757, allocations: 164.2 kB / 1.34 GB, free: 1.934 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000103/0.3758, allocations: 53.61 kB / 1.34 GB, free: 1.883 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3759, allocations: 59.42 kB / 1.341 GB, free: 1.824 MB / 1.029 GB Notification: Performance of SimCode: time 9.52e-07/0.3759, allocations: 0 / 1.341 GB, free: 1.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.4106, allocations: 5.282 MB / 1.346 GB, free: 12.69 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.75, allocations: 13.83 kB / 1.346 GB, free: 12.68 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.56916309602093]