Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000828/0.000828, 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.0008261/0.0008261, 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.9056/0.9056, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.754/1.754, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.557e-06/3.557e-06, allocations: 3.984 kB / 0.9997 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.958e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001181/0.001201, allocations: 0.7183 MB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001955/0.001396, allocations: 51.83 kB / 1 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.001439, allocations: 11.94 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.001565, allocations: 19.86 kB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.503e-05/0.00163, allocations: 11.92 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.001772, allocations: 26.16 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.001913, allocations: 123.7 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.002072, allocations: 80.91 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.002144, allocations: 103.8 kB / 1.001 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.002211, allocations: 71.81 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.002242, allocations: 12 kB / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.002259, allocations: 8 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.002312, allocations: 51.84 kB / 1.001 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.002356, allocations: 51.83 kB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.002527, allocations: 239.1 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.002529, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.32e-07/0.00253, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.002534, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 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.0003846/0.002918, allocations: 429.6 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.002953, allocations: 8.75 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.002994, allocations: 58.72 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.003025, allocations: 28.75 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.003199, allocations: 197.4 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.003211, allocations: 8.75 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.003229, allocations: 20.38 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.003547, allocations: 341.5 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.003556, allocations: 192 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.003572, allocations: 12.36 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.003597, allocations: 19.92 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.003808, allocations: 267.8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.004604, allocations: 1.022 MB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.864e-05/0.004662, allocations: 173.1 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.004686, allocations: 84.12 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.004702, allocations: 75.28 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.004732, allocations: 109.8 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.004733, allocations: 0 / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.772e-05/0.0048, allocations: 53.45 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.004842, allocations: 134.6 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.00518, allocations: 0.4925 MB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.00519, allocations: 33.64 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.005277, allocations: 171.9 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.00528, allocations: 0 / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.005318, allocations: 29.7 kB / 1.005 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.005407, allocations: 342.8 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/0.005453, allocations: 43.97 kB / 1.005 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.005526, allocations: 97.91 kB / 1.005 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.838e-05/0.005615, allocations: 109.8 kB / 1.005 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.005618, allocations: 4 kB / 1.005 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000199/0.005817, allocations: 181.3 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.00583, allocations: 8 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.005836, allocations: 3.984 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.005848, allocations: 4.219 kB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.005919, allocations: 23.88 kB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.005928, allocations: 8.141 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.005986, allocations: 35.73 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.006001, allocations: 11.98 kB / 1.006 GB, free: 6.98 MB / 0.9636 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.0001157/0.006116, allocations: 249 kB / 1.006 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.006166, allocations: 136.8 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.006216, allocations: 131.6 kB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-05/0.006255, allocations: 184.3 kB / 1.006 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.169e-05/0.006297, allocations: 184.1 kB / 1.007 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001167/0.006413, allocations: 176.3 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.006613, allocations: 456.2 kB / 1.007 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/0.006635, allocations: 101 kB / 1.007 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.006659, allocations: 105.1 kB / 1.007 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.212e-05/0.006701, allocations: 184.2 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.006743, allocations: 184.3 kB / 1.008 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-05/0.006782, allocations: 180.2 kB / 1.008 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-05/0.006819, allocations: 180.2 kB / 1.008 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.999e-05/0.006919, allocations: 335.6 kB / 1.008 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.006982, allocations: 140.8 kB / 1.009 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.007038, allocations: 184.2 kB / 1.009 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.434e-05/0.007102, allocations: 113 kB / 1.009 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.007148, allocations: 184.2 kB / 1.009 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.007172, allocations: 108.9 kB / 1.009 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002418/0.007414, allocations: 366.9 kB / 1.009 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007414, allocations: 0 / 1.009 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001852/0.0076, allocations: 24 kB / 1.009 GB, free: 2.957 MB / 0.9636 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.0002701/0.00787, allocations: 0.8204 MB / 1.01 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.007976, allocations: 68.14 kB / 1.01 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.007978, allocations: 4.125 kB / 1.01 GB, free: 2.039 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.007979, allocations: 0 / 1.01 GB, free: 2.039 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.00835, allocations: 494.9 kB / 1.011 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.01076, allocations: 3.296 MB / 1.014 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.528e-05/0.01086, allocations: 164.2 kB / 1.014 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 5.903e-05/0.01092, allocations: 49.62 kB / 1.014 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.01099, allocations: 64.47 kB / 1.014 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of SimCode: time 5.51e-07/0.01099, allocations: 0 / 1.014 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.02609, allocations: 5.346 MB / 1.02 GB, free: 8.66 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.806/6.832, allocations: 1.719 kB / 1.02 GB, free: 8.66 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! Error: Could not read variable matMax2.y[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.939206595532596]