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.0008478/0.0008478, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009386/0.0009386, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9117/0.9117, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.741/1.741, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.847e-05, allocations: 4.953 kB / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001795/0.001824, allocations: 0.7416 MB / 0.9818 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002026/0.002026, allocations: 47.84 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.002071, allocations: 7.938 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.002203, allocations: 19.78 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.479e-05/0.002248, allocations: 11.98 kB / 0.9818 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.002401, allocations: 27.95 kB / 0.9819 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.002581, allocations: 123.6 kB / 0.982 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.002759, allocations: 84.91 kB / 0.9821 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.876e-05/0.002838, allocations: 99.78 kB / 0.9822 GB, free: 1.359 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.002908, allocations: 63.88 kB / 0.9822 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.002943, allocations: 12 kB / 0.9822 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.002962, allocations: 15.94 kB / 0.9822 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.003022, allocations: 55.78 kB / 0.9823 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.003071, allocations: 51.84 kB / 0.9823 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.003257, allocations: 231.2 kB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003259, allocations: 0 / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00326, allocations: 3.938 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.003264, allocations: 0 / 0.9826 GB, free: 0.9336 MB / 0.9323 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.0003984/0.003663, allocations: 421.7 kB / 0.983 GB, free: 500 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.003702, allocations: 12.03 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.003746, allocations: 62.7 kB / 0.983 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.00378, allocations: 24.8 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.003964, allocations: 201.4 kB / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.003977, allocations: 12.75 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.003995, allocations: 20.31 kB / 0.9833 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.004335, allocations: 337.6 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.004343, allocations: 4.125 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.004358, allocations: 8.375 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.004383, allocations: 19.92 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.004631, allocations: 259.9 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007351/0.005366, allocations: 1.03 MB / 0.9849 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.022e-05/0.005426, allocations: 177.1 kB / 0.9851 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.005448, allocations: 80.14 kB / 0.9851 GB, free: 14.15 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.005463, allocations: 79.28 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.005494, allocations: 109.8 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.005494, allocations: 0 / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.0001497/0.005644, allocations: 49.56 kB / 0.9854 GB, free: 13.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.005697, allocations: 134.6 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.006108, allocations: 0.5003 MB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.006118, allocations: 25.7 kB / 0.986 GB, free: 13.22 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.006219, allocations: 167.9 kB / 0.9862 GB, free: 13.05 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.006223, allocations: 3.984 kB / 0.9862 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.006272, allocations: 29.67 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.00637, allocations: 346.8 kB / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/0.006429, allocations: 47.95 kB / 0.9866 GB, free: 12.62 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.006498, allocations: 93.95 kB / 0.9867 GB, free: 12.51 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.006604, allocations: 105.8 kB / 0.9868 GB, free: 12.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.006607, allocations: 0 / 0.9868 GB, free: 12.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002372/0.006844, allocations: 185.3 kB / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.006861, allocations: 4 kB / 0.987 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.006869, allocations: 4 kB / 0.987 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.006883, allocations: 0 / 0.987 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.006992, allocations: 23.92 kB / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.007001, allocations: 7.938 kB / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.007073, allocations: 43.72 kB / 0.987 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.007093, allocations: 8.219 kB / 0.987 GB, free: 12.11 MB / 0.948 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.0001323/0.007226, allocations: 249.1 kB / 0.9873 GB, free: 11.85 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.007283, allocations: 128.9 kB / 0.9874 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.007337, allocations: 142.6 kB / 0.9875 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.989e-05/0.007377, allocations: 176.3 kB / 0.9877 GB, free: 11.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.547e-05/0.007423, allocations: 192.1 kB / 0.9879 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-05/0.007461, allocations: 176.3 kB / 0.9881 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.00768, allocations: 444.2 kB / 0.9885 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.869e-05/0.007709, allocations: 108.9 kB / 0.9886 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.007733, allocations: 101.1 kB / 0.9887 GB, free: 10.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.48e-05/0.007778, allocations: 184.2 kB / 0.9889 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.007827, allocations: 192.3 kB / 0.989 GB, free: 9.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.131e-05/0.007869, allocations: 176.3 kB / 0.9892 GB, free: 9.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.336e-05/0.007912, allocations: 184.1 kB / 0.9894 GB, free: 9.562 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.00804, allocations: 327.6 kB / 0.9897 GB, free: 9.219 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.008112, allocations: 144.8 kB / 0.9898 GB, free: 9.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.008168, allocations: 184.2 kB / 0.99 GB, free: 8.883 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.008243, allocations: 116.9 kB / 0.9901 GB, free: 8.762 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.008288, allocations: 184.2 kB / 0.9903 GB, free: 8.574 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.008313, allocations: 108.9 kB / 0.9904 GB, free: 8.461 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002487/0.008562, allocations: 363 kB / 0.9907 GB, free: 8.105 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008562, allocations: 4 kB / 0.9907 GB, free: 8.102 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001775/0.008739, allocations: 24 kB / 0.9908 GB, free: 8.078 MB / 0.948 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.000321/0.00906, allocations: 0.8243 MB / 0.9916 GB, free: 7.223 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.009183, allocations: 63.89 kB / 0.9916 GB, free: 7.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.009185, allocations: 0 / 0.9916 GB, free: 7.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.009187, allocations: 3.938 kB / 0.9916 GB, free: 7.156 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.009609, allocations: 481.4 kB / 0.9921 GB, free: 6.684 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.01194, allocations: 3.308 MB / 0.9953 GB, free: 3.254 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.01205, allocations: 156.2 kB / 0.9955 GB, free: 3.082 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.108e-05/0.01212, allocations: 53.61 kB / 0.9955 GB, free: 3.027 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.0122, allocations: 60.48 kB / 0.9956 GB, free: 2.965 MB / 0.948 GB Notification: Performance of SimCode: time 7.42e-07/0.0122, allocations: 4 kB / 0.9956 GB, free: 2.961 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.0308, allocations: 5.359 MB / 1.001 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/6.92, allocations: 3.047 kB / 1.001 GB, free: 13.77 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.076248404569924]