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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.334/2.334, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.89 kB / 1.059 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2875, allocations: 160.7 MB / 1.216 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001951/0.2894, allocations: 0.7478 MB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002423/0.2897, allocations: 55.83 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.2897, allocations: 7.938 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2898, allocations: 15.8 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.2899, allocations: 11.92 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.2901, allocations: 31.97 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.2902, allocations: 123.7 kB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.2904, allocations: 88.48 kB / 1.217 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.2905, allocations: 67.78 kB / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.2906, allocations: 75.64 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.2907, allocations: 12 kB / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/0.2907, allocations: 12 kB / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.2908, allocations: 55.78 kB / 1.217 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.2908, allocations: 83.48 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.2911, allocations: 239.2 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2911, allocations: 0 / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2911, allocations: 0 / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.2911, allocations: 0 / 1.217 GB, free: 14.2 MB / 0.9669 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.0006283/0.2917, allocations: 0.4987 MB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2918, allocations: 8.031 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/0.2919, allocations: 54.73 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.2919, allocations: 24.8 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.2922, allocations: 268.9 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.2922, allocations: 12.75 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.2922, allocations: 24.31 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.2927, allocations: 340.9 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2927, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.2927, allocations: 7.938 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.2928, allocations: 12 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.2931, allocations: 267.8 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2942, allocations: 1.088 MB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.2943, allocations: 173.1 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.2944, allocations: 84.14 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.2944, allocations: 79.22 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.2945, allocations: 110 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.2945, allocations: 0 / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.569e-05/0.2945, allocations: 53.5 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.2946, allocations: 126.7 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005632/0.2952, allocations: 0.4965 MB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.2952, allocations: 25.7 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.2953, allocations: 171.9 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.2953, allocations: 4 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.2954, allocations: 29.7 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2955, allocations: 338.8 kB / 1.221 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.2956, allocations: 47.97 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.2957, allocations: 93.91 kB / 1.221 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.2958, allocations: 105.9 kB / 1.222 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2958, allocations: 0 / 1.222 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002948/0.2961, allocations: 185.2 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2961, allocations: 11.94 kB / 1.222 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2961, allocations: 0 / 1.222 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2962, allocations: 4 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.834e-05/0.2963, allocations: 24.2 kB / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2963, allocations: 0 / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.2964, allocations: 43.77 kB / 1.222 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.2964, allocations: 4 kB / 1.222 GB, free: 9.133 MB / 0.9669 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.0001662/0.2965, allocations: 249 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.229e-05/0.2966, allocations: 136.7 kB / 1.222 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.2967, allocations: 138.8 kB / 1.222 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.359e-05/0.2968, allocations: 188.2 kB / 1.222 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-05/0.2969, allocations: 181.3 kB / 1.223 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.478e-05/0.2969, allocations: 184.2 kB / 1.223 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.2973, allocations: 489.1 kB / 1.223 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.832e-05/0.2973, allocations: 101 kB / 1.223 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.2973, allocations: 112.9 kB / 1.224 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.077e-05/0.2974, allocations: 184.2 kB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.03e-05/0.2975, allocations: 184.2 kB / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.666e-05/0.2975, allocations: 176.3 kB / 1.224 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.995e-05/0.2976, allocations: 180.5 kB / 1.224 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.2978, allocations: 339.6 kB / 1.225 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.2979, allocations: 217.9 kB / 1.225 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/0.298, allocations: 188.2 kB / 1.225 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2981, allocations: 105 kB / 1.225 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.2982, allocations: 184.2 kB / 1.225 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.2982, allocations: 101 kB / 1.225 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003611/0.2986, allocations: 371 kB / 1.226 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2986, allocations: 0 / 1.226 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002629/0.2989, allocations: 24 kB / 1.226 GB, free: 4.957 MB / 0.9669 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.0004831/0.2993, allocations: 0.8397 MB / 1.226 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.2995, allocations: 63.89 kB / 1.227 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2995, allocations: 0 / 1.227 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.2995, allocations: 4 kB / 1.227 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.3, allocations: 480.8 kB / 1.227 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.3033, allocations: 3.274 MB / 1.23 GB, free: 172 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.3036, allocations: 0.771 MB / 1.231 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.755e-05/0.3037, allocations: 49.52 kB / 1.231 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/0.3038, allocations: 59.42 kB / 1.231 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3038, allocations: 0 / 1.231 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.3295, allocations: 4.581 MB / 1.236 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.438, allocations: 6.703 kB / 1.236 GB, free: 10.77 MB / 0.9825 GB " [Timeout remaining time 292] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable matMax2.y[1] in file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[1] from file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! Error: Could not read variable matMax2.y[2] in file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[2] from file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.665290582001035]