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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008336/0.008336, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002311/0.002311, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.949/1.949, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.985/3.985, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3537, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002129/0.3559, allocations: 0.7567 MB / 1.167 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002805/0.3562, allocations: 59.77 kB / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.3563, allocations: 4 kB / 1.167 GB, free: 6.457 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.3564, allocations: 15.8 kB / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.066e-05/0.3565, allocations: 11.98 kB / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.3567, allocations: 27.98 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.3569, allocations: 119.7 kB / 1.167 GB, free: 6.285 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.3572, allocations: 156.8 kB / 1.167 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.293e-05/0.3573, allocations: 67.78 kB / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3575, allocations: 75.64 kB / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.3575, allocations: 12 kB / 1.167 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.057e-05/0.3575, allocations: 8 kB / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-05/0.3576, allocations: 55.8 kB / 1.168 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.3578, allocations: 83.47 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.3581, allocations: 239.2 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3581, allocations: 0 / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3581, allocations: 3.938 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.3581, allocations: 4 kB / 1.168 GB, free: 5.59 MB / 0.92 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.0007834/0.3589, allocations: 0.4987 MB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3589, allocations: 8.031 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.1e-05/0.359, allocations: 58.73 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.3591, allocations: 24.8 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.3595, allocations: 260.9 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3595, allocations: 16.75 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.3595, allocations: 16.38 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.3601, allocations: 352.9 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3601, allocations: 0 / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.3601, allocations: 4 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.3602, allocations: 19.94 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.3606, allocations: 267.8 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.362, allocations: 1.088 MB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.3621, allocations: 173.1 kB / 1.171 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.3623, allocations: 84.12 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.3623, allocations: 75.28 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.952e-05/0.3624, allocations: 117.9 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.3624, allocations: 0 / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0002061/0.3626, allocations: 57.5 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.3627, allocations: 130.6 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.3634, allocations: 0.4926 MB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3634, allocations: 25.7 kB / 1.172 GB, free: 1.625 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.3636, allocations: 175.8 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.3636, allocations: 0 / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.701e-05/0.3637, allocations: 37.7 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3639, allocations: 338.8 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.364, allocations: 47.97 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3641, allocations: 94.83 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.3643, allocations: 118.7 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3643, allocations: 4 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003536/0.3646, allocations: 197.2 kB / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3647, allocations: 11.94 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3647, allocations: 0 / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3647, allocations: 4 kB / 1.172 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3648, allocations: 19.98 kB / 1.173 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.3648, allocations: 7.938 kB / 1.173 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.365, allocations: 36.03 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.365, allocations: 11.98 kB / 1.173 GB, free: 480 kB / 0.92 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.0002114/0.3652, allocations: 253 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3653, allocations: 132.7 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.3655, allocations: 138.8 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000137/0.3656, allocations: 176.3 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-05/0.3657, allocations: 180.3 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.281e-05/0.3658, allocations: 188.2 kB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.3662, allocations: 493.1 kB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00011/0.3663, allocations: 104.9 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.3664, allocations: 105 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.464e-05/0.3665, allocations: 184.2 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.3666, allocations: 184.2 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001208/0.3667, allocations: 176.3 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.848e-05/0.3668, allocations: 184.2 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.3671, allocations: 323.7 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.3673, allocations: 225.8 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.3674, allocations: 180.5 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.3675, allocations: 104.9 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3676, allocations: 188.3 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.3677, allocations: 101 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004373/0.3681, allocations: 367 kB / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.044e-06/0.3681, allocations: 7.938 kB / 1.176 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003195/0.3685, allocations: 27.94 kB / 1.176 GB, free: 12.3 MB / 0.9356 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.0006115/0.3691, allocations: 0.8359 MB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.3693, allocations: 68.08 kB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3693, allocations: 0 / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.3693, allocations: 3.938 kB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006783/0.37, allocations: 481.1 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.3737, allocations: 3.303 MB / 1.181 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.3742, allocations: 0.7788 MB / 1.182 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.3744, allocations: 45.53 kB / 1.182 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3745, allocations: 63.41 kB / 1.182 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of SimCode: time 7.82e-07/0.3745, allocations: 0 / 1.182 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.4057, allocations: 4.609 MB / 1.186 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.985/9.391, allocations: 11.83 kB / 1.186 GB, free: 2.039 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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