Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008189/0.008189, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.437/2.437, allocations: 437.8 MB / 0.7121 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002969, allocations: 8 kB / 0.873 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.5506, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.0007916/0.5514, allocations: 478 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001904/0.5516, allocations: 51.83 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.5517, allocations: 4 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.5518, allocations: 15.86 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.5518, allocations: 11.97 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.552, allocations: 23.98 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.5521, allocations: 119.6 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.5524, allocations: 156.5 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.5524, allocations: 35.8 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.5525, allocations: 43.61 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.5525, allocations: 4 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.5525, allocations: 4 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.5526, allocations: 35.86 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.5527, allocations: 93.12 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.5528, allocations: 215.2 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5529, allocations: 4 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5529, allocations: 3.938 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.5529, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 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.0004247/0.5533, allocations: 461.4 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.5534, allocations: 12.03 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.458e-05/0.5534, allocations: 54.73 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.5535, allocations: 28.59 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.5537, allocations: 255.8 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.5537, allocations: 12.75 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.5537, allocations: 24.36 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.5542, allocations: 348.8 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5542, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.5542, allocations: 12 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.5542, allocations: 12 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.5545, allocations: 268.3 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.5556, allocations: 1.084 MB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.545e-05/0.5556, allocations: 165.1 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.5557, allocations: 80.14 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.5557, allocations: 79.28 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.5557, allocations: 114 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.5557, allocations: 3.938 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.484e-05/0.5558, allocations: 49.41 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.5559, allocations: 130.7 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.5564, allocations: 0.4926 MB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.5564, allocations: 25.7 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.5565, allocations: 183.6 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.5565, allocations: 4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.5565, allocations: 9.719 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5566, allocations: 342.8 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.466e-05/0.5567, allocations: 47.95 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.52e-05/0.5568, allocations: 98.77 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.5569, allocations: 126.8 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5569, allocations: 0 / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002573/0.5572, allocations: 185.1 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5572, allocations: 15.88 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.5572, allocations: 0 / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5572, allocations: 4 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/0.5573, allocations: 23.98 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-06/0.5573, allocations: 8.344 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.481e-05/0.5574, allocations: 39.67 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.5575, allocations: 8 kB / 1.029 GB, free: 9.527 MB / 0.7794 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.0001388/0.5576, allocations: 249.5 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.5577, allocations: 132.5 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.5577, allocations: 142.8 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.643e-05/0.5578, allocations: 180.3 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.783e-05/0.5578, allocations: 184.2 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.572e-05/0.5579, allocations: 176.3 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.5582, allocations: 497 kB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-05/0.5582, allocations: 101 kB / 1.031 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.5582, allocations: 101 kB / 1.031 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.078e-05/0.5583, allocations: 196.1 kB / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.5583, allocations: 180.3 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.793e-05/0.5584, allocations: 184.2 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.445e-05/0.5584, allocations: 176.3 kB / 1.031 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.5586, allocations: 331.5 kB / 1.032 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5587, allocations: 229.7 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.5588, allocations: 184.5 kB / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.5589, allocations: 105 kB / 1.032 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.5589, allocations: 188.3 kB / 1.032 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.5589, allocations: 104.9 kB / 1.033 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003277/0.5593, allocations: 371 kB / 1.033 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5593, allocations: 0 / 1.033 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000251/0.5595, allocations: 24 kB / 1.033 GB, free: 5.352 MB / 0.7794 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.0003462/0.5599, allocations: 0.83 MB / 1.034 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.56, allocations: 75.83 kB / 1.034 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.56, allocations: 0 / 1.034 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.56, allocations: 0 / 1.034 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.5605, allocations: 0.5434 MB / 1.034 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.5634, allocations: 3.345 MB / 1.038 GB, free: 400 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.5637, allocations: 0.7713 MB / 1.038 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.005e-05/0.5637, allocations: 53.52 kB / 1.038 GB, free: 15.54 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.5638, allocations: 59.42 kB / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.5638, allocations: 0 / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.281/2.844, allocations: 4.261 MB / 1.043 GB, free: 11.36 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/2.845, allocations: 200.8 kB / 1.043 GB, free: 11.11 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/4.587, allocations: 0 / 1.043 GB, free: 11.11 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches