Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",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.001712/0.001712, allocations: 108 kB / 15.6 MB, free: 132 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.002077/0.002077, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.321/2.321, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 79.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.602, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.001795/0.6039, allocations: 0.7447 MB / 0.9505 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002045/0.6041, allocations: 47.78 kB / 0.9505 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.6041, allocations: 2 kB / 0.9505 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.6043, allocations: 17.42 kB / 0.9505 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.6043, allocations: 15.86 kB / 0.9505 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.6045, allocations: 28.58 kB / 0.9506 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.6046, allocations: 121.2 kB / 0.9507 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.6049, allocations: 161.5 kB / 0.9508 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.6049, allocations: 69.39 kB / 0.9509 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.196e-05/0.605, allocations: 72 kB / 0.951 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.6051, allocations: 12.12 kB / 0.951 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.164e-05/0.6051, allocations: 10.97 kB / 0.951 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.062e-05/0.6052, allocations: 56.78 kB / 0.9511 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.6053, allocations: 81.36 kB / 0.9511 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.6055, allocations: 228 kB / 0.9513 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6055, allocations: 0 / 0.9513 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6055, allocations: 0 / 0.9513 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.6055, allocations: 1.562 kB / 0.9514 GB, free: 8.078 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000433/0.6059, allocations: 0.4889 MB / 0.9518 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.606, allocations: 10.06 kB / 0.9518 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.606, allocations: 59.62 kB / 0.9519 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.6061, allocations: 27.36 kB / 0.9519 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.6063, allocations: 250.4 kB / 0.9522 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.6063, allocations: 23.27 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.6063, allocations: 20.44 kB / 0.9522 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.6068, allocations: 345.3 kB / 0.9525 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.6068, allocations: 1.531 kB / 0.9525 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.6068, allocations: 5.156 kB / 0.9525 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.6069, allocations: 11.5 kB / 0.9525 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.6072, allocations: 269.1 kB / 0.9528 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009913/0.6082, allocations: 1.079 MB / 0.9539 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.54e-05/0.6082, allocations: 170.4 kB / 0.954 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.6083, allocations: 80.14 kB / 0.9541 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.6083, allocations: 80.47 kB / 0.9542 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.6083, allocations: 119.1 kB / 0.9543 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.6083, allocations: 3.938 kB / 0.9543 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.016e-05/0.6084, allocations: 51.8 kB / 0.9543 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.6084, allocations: 130.7 kB / 0.9545 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.6089, allocations: 0.4906 MB / 0.9549 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/0.6089, allocations: 29.7 kB / 0.955 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.609, allocations: 171.8 kB / 0.9551 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-06/0.609, allocations: 1.156 kB / 0.9551 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.609, allocations: 32.8 kB / 0.9552 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.6091, allocations: 341.3 kB / 0.9555 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.85e-05/0.6091, allocations: 45.56 kB / 0.9555 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.6092, allocations: 95.97 kB / 0.9556 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.841e-05/0.6093, allocations: 105 kB / 0.9557 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6093, allocations: 1.156 kB / 0.9557 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002457/0.6096, allocations: 180 kB / 0.9559 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.6096, allocations: 13.34 kB / 0.9559 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6096, allocations: 9.828 kB / 0.9559 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.6096, allocations: 1.781 kB / 0.9559 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.6097, allocations: 16.19 kB / 0.9559 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.6097, allocations: 9.984 kB / 0.956 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.934e-05/0.6098, allocations: 37.62 kB / 0.956 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.6098, allocations: 6.062 kB / 0.956 GB, free: 4.344 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001042/0.6099, allocations: 249.1 kB / 0.9562 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.61, allocations: 131.6 kB / 0.9564 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.61, allocations: 131.3 kB / 0.9565 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.6101, allocations: 181.6 kB / 0.9567 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.6101, allocations: 184.3 kB / 0.9568 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.6101, allocations: 181.6 kB / 0.957 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.6103, allocations: 489 kB / 0.9575 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.6103, allocations: 102.4 kB / 0.9576 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.6104, allocations: 110.3 kB / 0.9577 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-05/0.6104, allocations: 185.7 kB / 0.9578 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.6104, allocations: 181.6 kB / 0.958 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.298e-05/0.6104, allocations: 181.6 kB / 0.9582 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.301e-05/0.6105, allocations: 177.6 kB / 0.9584 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.466e-05/0.6106, allocations: 335.8 kB / 0.9587 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.6106, allocations: 220.9 kB / 0.9589 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.6107, allocations: 181.6 kB / 0.9591 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.6108, allocations: 109.1 kB / 0.9592 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.6108, allocations: 181.6 kB / 0.9593 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.6109, allocations: 105 kB / 0.9594 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003114/0.6112, allocations: 365.5 kB / 0.9598 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6112, allocations: 1.688 kB / 0.9598 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002704/0.6115, allocations: 27.22 kB / 0.9598 GB, free: 0.5352 MB / 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.0003295/0.6118, allocations: 0.8348 MB / 0.9606 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.6119, allocations: 66.33 kB / 0.9607 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6119, allocations: 1.219 kB / 0.9607 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.6119, allocations: 0 / 0.9607 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.6125, allocations: 483.3 kB / 0.9612 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.6155, allocations: 3.29 MB / 0.9644 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.6158, allocations: 0.7711 MB / 0.9651 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.616, allocations: 49.83 kB / 0.9652 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.585e-05/0.6161, allocations: 61.11 kB / 0.9652 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.6161, allocations: 0 / 0.9652 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.6368, allocations: 4.507 MB / 0.9696 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/7.937, allocations: 11.62 kB / 0.9696 GB, free: 10.03 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_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_MatrixMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches