Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003095/0.003095, allocations: 211.2 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.301/3.301, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002823/0.002823, allocations: 73.23 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.365, allocations: 176.1 MB / 1.325 GB, free: 2.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002475/0.3675, allocations: 0.7207 MB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002925/0.3678, allocations: 48.25 kB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.3679, allocations: 7.938 kB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.3681, allocations: 23.84 kB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.243e-05/0.3681, allocations: 11.92 kB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.3683, allocations: 27.91 kB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.3685, allocations: 127.6 kB / 1.326 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.3687, allocations: 80.86 kB / 1.326 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3688, allocations: 75.78 kB / 1.326 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3689, allocations: 87.62 kB / 1.326 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.369, allocations: 12 kB / 1.326 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-05/0.369, allocations: 8 kB / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.067e-05/0.3691, allocations: 59.78 kB / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.3692, allocations: 59.61 kB / 1.326 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.3695, allocations: 243.2 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3695, allocations: 0 / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3695, allocations: 4 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3695, allocations: 0 / 1.327 GB, free: 0.6953 MB / 1.014 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.000599/0.3701, allocations: 425.6 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3702, allocations: 16.03 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.678e-05/0.3702, allocations: 54.73 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.3703, allocations: 28.75 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.3707, allocations: 206.2 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.3707, allocations: 16.75 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.3707, allocations: 16.38 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.3713, allocations: 344.9 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3713, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.3713, allocations: 4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.3713, allocations: 15.98 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.3717, allocations: 265.5 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.3731, allocations: 1.026 MB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.3732, allocations: 169.1 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.3733, allocations: 88.06 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.3733, allocations: 79.28 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.165e-05/0.3734, allocations: 110 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3734, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001063/0.3735, allocations: 57.48 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.3736, allocations: 126.7 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.3742, allocations: 0.4965 MB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3742, allocations: 25.7 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3743, allocations: 171.9 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.3743, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.3744, allocations: 29.7 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3746, allocations: 342.8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.3746, allocations: 43.95 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3747, allocations: 101.9 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3749, allocations: 109.9 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3749, allocations: 3.938 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003209/0.3752, allocations: 189.2 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3752, allocations: 7.938 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3752, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3753, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3754, allocations: 24.2 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.3754, allocations: 4 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3755, allocations: 35.77 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.3755, allocations: 12 kB / 1.331 GB, free: 11.84 MB / 1.029 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.0002/0.3757, allocations: 245.5 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.3758, allocations: 136.7 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.292e-05/0.3759, allocations: 134.8 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.864e-05/0.376, allocations: 180.2 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.883e-05/0.3761, allocations: 180.3 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.518e-05/0.3762, allocations: 180.2 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.3765, allocations: 452.3 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.702e-05/0.3766, allocations: 109 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.3766, allocations: 104.9 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.554e-05/0.3767, allocations: 184.2 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/0.3768, allocations: 184.2 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.89e-05/0.3769, allocations: 180.3 kB / 1.333 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.742e-05/0.377, allocations: 180.4 kB / 1.333 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.3772, allocations: 327.6 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.3773, allocations: 140.8 kB / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.3774, allocations: 188.5 kB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.3776, allocations: 109 kB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/0.3776, allocations: 188.2 kB / 1.334 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.3777, allocations: 105 kB / 1.334 GB, free: 8.207 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004085/0.3781, allocations: 363 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3781, allocations: 0 / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000268/0.3784, allocations: 24 kB / 1.335 GB, free: 7.828 MB / 1.029 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.0005318/0.3789, allocations: 0.8319 MB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.3791, allocations: 67.88 kB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.3791, allocations: 448 / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-06/0.3791, allocations: 8 kB / 1.336 GB, free: 6.895 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/0.3797, allocations: 496.6 kB / 1.336 GB, free: 6.406 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.3836, allocations: 3.262 MB / 1.339 GB, free: 3.031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.3838, allocations: 172.2 kB / 1.34 GB, free: 2.844 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.3839, allocations: 49.61 kB / 1.34 GB, free: 2.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.384, allocations: 55.42 kB / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.384, allocations: 0 / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.4187, allocations: 5.222 MB / 1.345 GB, free: 13.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.04, allocations: 14.17 kB / 1.345 GB, free: 13.66 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable matMax2.y[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! Error: Could not read variable matMax2.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.134120971895754]