Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001642/0.001642, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.2 MB / 0.6647 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.89 kB / 0.8127 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.5782, allocations: 140.4 MB / 0.9497 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.001969/0.5802, allocations: 0.7396 MB / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002047/0.5804, allocations: 52.92 kB / 0.9505 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.5805, allocations: 9.188 kB / 0.9505 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.5806, allocations: 18.33 kB / 0.9505 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.5806, allocations: 11.42 kB / 0.9505 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.5808, allocations: 24.53 kB / 0.9506 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.581, allocations: 116.7 kB / 0.9507 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.5813, allocations: 164.7 kB / 0.9508 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.5813, allocations: 70.11 kB / 0.9509 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.5814, allocations: 76.44 kB / 0.951 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.5815, allocations: 12.38 kB / 0.951 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-05/0.5815, allocations: 15 kB / 0.951 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.5816, allocations: 57.78 kB / 0.9511 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.796e-05/0.5817, allocations: 84.05 kB / 0.9511 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.5819, allocations: 224.2 kB / 0.9514 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.582, allocations: 0 / 0.9514 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.582, allocations: 1.375 kB / 0.9514 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.582, allocations: 0 / 0.9514 GB, free: 7.969 MB / 0.7169 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.0004482/0.5824, allocations: 496.6 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.5825, allocations: 9.281 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.5825, allocations: 64.06 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.5826, allocations: 23.44 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.5828, allocations: 262 kB / 0.9522 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.5828, allocations: 12.75 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.5828, allocations: 16.56 kB / 0.9522 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.5832, allocations: 351.1 kB / 0.9525 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.5833, allocations: 4.938 kB / 0.9525 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.5833, allocations: 5.969 kB / 0.9525 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.5833, allocations: 18.7 kB / 0.9526 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.5837, allocations: 270.2 kB / 0.9528 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009392/0.5846, allocations: 1.082 MB / 0.9539 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.114e-05/0.5847, allocations: 174.5 kB / 0.954 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.5847, allocations: 80.14 kB / 0.9541 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-06/0.5847, allocations: 75.28 kB / 0.9542 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.5847, allocations: 111.4 kB / 0.9543 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.5847, allocations: 0 / 0.9543 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.468e-05/0.5848, allocations: 56.27 kB / 0.9543 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5849, allocations: 134.7 kB / 0.9545 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.5853, allocations: 0.4984 MB / 0.955 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-06/0.5853, allocations: 26.92 kB / 0.955 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.5854, allocations: 168.7 kB / 0.9552 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.5854, allocations: 5.281 kB / 0.9552 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.5855, allocations: 29.3 kB / 0.9552 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.5856, allocations: 341 kB / 0.9555 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.5856, allocations: 50.45 kB / 0.9556 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.5857, allocations: 103.6 kB / 0.9557 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.5858, allocations: 120.2 kB / 0.9558 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5858, allocations: 0 / 0.9558 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002627/0.5861, allocations: 193.7 kB / 0.956 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.5861, allocations: 10 kB / 0.956 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5861, allocations: 2.281 kB / 0.956 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5861, allocations: 2.906 kB / 0.956 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.5862, allocations: 20.52 kB / 0.956 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5862, allocations: 2 kB / 0.956 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.02e-05/0.5863, allocations: 42.23 kB / 0.956 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.5864, allocations: 11.2 kB / 0.956 GB, free: 4.199 MB / 0.7169 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.0001099/0.5865, allocations: 248.6 kB / 0.9563 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.5865, allocations: 135 kB / 0.9564 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.5866, allocations: 135.5 kB / 0.9565 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.5866, allocations: 181.6 kB / 0.9567 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.662e-05/0.5867, allocations: 189.5 kB / 0.9569 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.5867, allocations: 177.6 kB / 0.9571 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.5869, allocations: 493 kB / 0.9575 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.5869, allocations: 106.3 kB / 0.9576 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.622e-05/0.5869, allocations: 102.4 kB / 0.9577 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.467e-05/0.5869, allocations: 185.6 kB / 0.9579 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.587, allocations: 185.6 kB / 0.9581 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.121e-05/0.587, allocations: 177.6 kB / 0.9583 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.419e-05/0.587, allocations: 185.6 kB / 0.9584 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.303e-05/0.5871, allocations: 336.7 kB / 0.9588 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.5872, allocations: 211.2 kB / 0.959 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.5873, allocations: 186.2 kB / 0.9591 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.5873, allocations: 112.2 kB / 0.9592 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.5874, allocations: 177.4 kB / 0.9594 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.5874, allocations: 106 kB / 0.9595 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003471/0.5878, allocations: 366.8 kB / 0.9599 GB, free: 392 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5878, allocations: 0 / 0.9599 GB, free: 392 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002725/0.588, allocations: 24.16 kB / 0.9599 GB, free: 392 kB / 0.7169 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.0003995/0.5884, allocations: 0.835 MB / 0.9607 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.5886, allocations: 72.83 kB / 0.9608 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5886, allocations: 0 / 0.9608 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.5886, allocations: 5.75 kB / 0.9608 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.5892, allocations: 478.6 kB / 0.9612 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.5924, allocations: 3.305 MB / 0.9645 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.5927, allocations: 0.7801 MB / 0.9652 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.199e-05/0.5928, allocations: 50.55 kB / 0.9653 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.5929, allocations: 57.14 kB / 0.9653 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of SimCode: time 1.513e-06/0.5929, allocations: 0 / 0.9653 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.614, allocations: 4.531 MB / 0.9697 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.884, allocations: 6.188 kB / 0.9698 GB, free: 9.848 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches