Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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.MatrixMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.007623/0.007623, allocations: 101.1 kB / 15.73 MB, free: 6.055 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.001396/0.001397, allocations: 192.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.172/2.172, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.503/4.503, allocations: 437.1 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 71.83 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8564/0.8591, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001964/0.8611, allocations: 0.7547 MB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002442/0.8613, allocations: 47.84 kB / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.8614, allocations: 0 / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.8615, allocations: 23.8 kB / 1.167 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.8616, allocations: 11.92 kB / 1.167 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.8618, allocations: 28.97 kB / 1.167 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.862, allocations: 119.7 kB / 1.167 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.8622, allocations: 153 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.167e-05/0.8623, allocations: 67.8 kB / 1.167 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.8624, allocations: 71.64 kB / 1.167 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.8625, allocations: 12 kB / 1.167 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.317e-05/0.8625, allocations: 16 kB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.8626, allocations: 59.83 kB / 1.168 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.649e-05/0.8627, allocations: 87.42 kB / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.863, allocations: 230.6 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.863, allocations: 4 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.707e-06/0.863, allocations: 3.984 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.863, allocations: 0 / 1.168 GB, free: 2.141 MB / 0.8887 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.0006171/0.8636, allocations: 0.4987 MB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.8637, allocations: 12.92 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.873e-05/0.8638, allocations: 58.72 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.8638, allocations: 24.8 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.8641, allocations: 256 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.8641, allocations: 16.75 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.8642, allocations: 16.38 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.8647, allocations: 344.9 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.8647, allocations: 0 / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.8647, allocations: 8 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.8648, allocations: 16 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.8651, allocations: 259.8 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.8664, allocations: 1.081 MB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.8665, allocations: 173.1 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.8666, allocations: 84.17 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.8666, allocations: 75.28 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/0.8667, allocations: 110 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.8667, allocations: 4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.907e-05/0.8668, allocations: 55.88 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.8669, allocations: 134.7 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.8675, allocations: 0.4964 MB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.8675, allocations: 25.7 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.8676, allocations: 164 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-06/0.8676, allocations: 7.938 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.8677, allocations: 29.7 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8679, allocations: 342.6 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.025e-05/0.8679, allocations: 47.97 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.884e-05/0.868, allocations: 89.97 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.8682, allocations: 109.8 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8682, allocations: 4 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003054/0.8685, allocations: 189.4 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.8685, allocations: 7.938 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.8685, allocations: 4 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.8686, allocations: 0 / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/0.8687, allocations: 23.92 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.8687, allocations: 4 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.763e-05/0.8688, allocations: 31.78 kB / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.8688, allocations: 8 kB / 1.172 GB, free: 13.09 MB / 0.9044 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.0001881/0.869, allocations: 257.1 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.8691, allocations: 136.7 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.184e-05/0.8692, allocations: 134.8 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.67e-05/0.8693, allocations: 176.3 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-05/0.8694, allocations: 180.2 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-05/0.8695, allocations: 188.2 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.8698, allocations: 497 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.674e-05/0.8699, allocations: 109 kB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.8699, allocations: 101 kB / 1.174 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.083e-05/0.87, allocations: 184.1 kB / 1.174 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/0.8701, allocations: 180.3 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.963e-05/0.8702, allocations: 184.2 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.739e-05/0.8703, allocations: 180.3 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.8705, allocations: 327.6 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.8706, allocations: 217.9 kB / 1.175 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.8707, allocations: 184.1 kB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.8709, allocations: 113 kB / 1.176 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.8709, allocations: 180.2 kB / 1.176 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.871, allocations: 105.2 kB / 1.176 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003939/0.8714, allocations: 363 kB / 1.176 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8714, allocations: 0 / 1.176 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002659/0.8717, allocations: 28 kB / 1.176 GB, free: 8.918 MB / 0.9044 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.000529/0.8722, allocations: 0.8397 MB / 1.177 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.8724, allocations: 71.84 kB / 1.177 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8724, allocations: 0 / 1.177 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.8724, allocations: 4.375 kB / 1.177 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.873, allocations: 482.5 kB / 1.178 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.8766, allocations: 3.273 MB / 1.181 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.877, allocations: 0.7749 MB / 1.182 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.092e-05/0.8771, allocations: 45.53 kB / 1.182 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.8772, allocations: 63.41 kB / 1.182 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/0.8772, allocations: 0 / 1.182 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.9045, allocations: 4.575 MB / 1.186 GB, free: 14.74 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.787/10.69, allocations: 5.844 kB / 1.186 GB, free: 14.73 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches