Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001365/0.001365, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001677/0.001677, allocations: 216.5 kB / 22.26 MB, free: 5.082 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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 3.412/3.412, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",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.002018/0.002018, allocations: 72.36 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4001, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001946/0.402, allocations: 0.6692 MB / 1.354 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.4022, allocations: 15.97 kB / 1.354 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.4022, allocations: 3.938 kB / 1.354 GB, free: 7.734 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.671e-05/0.4023, allocations: 0 / 1.354 GB, free: 7.734 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.4024, allocations: 3.938 kB / 1.354 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.705e-05/0.4024, allocations: 8 kB / 1.354 GB, free: 7.723 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.994e-05/0.4025, allocations: 19.98 kB / 1.354 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.4027, allocations: 23.98 kB / 1.354 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.4027, allocations: 19.92 kB / 1.354 GB, free: 7.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.497e-05/0.4027, allocations: 11.94 kB / 1.354 GB, free: 7.648 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.4027, allocations: 4 kB / 1.354 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.4028, allocations: 4 kB / 1.354 GB, free: 7.641 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.4028, allocations: 19.91 kB / 1.354 GB, free: 7.621 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.4028, allocations: 15.88 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.4029, allocations: 51.97 kB / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.403, allocations: 0 / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/0.403, allocations: 0 / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.403, allocations: 0 / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003539/0.4033, allocations: 278.2 kB / 1.354 GB, free: 7.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4034, allocations: 12.03 kB / 1.354 GB, free: 7.238 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.4034, allocations: 38.73 kB / 1.354 GB, free: 7.191 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.4034, allocations: 8.891 kB / 1.354 GB, free: 7.184 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.4036, allocations: 114.5 kB / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4036, allocations: 8.375 kB / 1.354 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.4036, allocations: 4.359 kB / 1.354 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.4038, allocations: 86.05 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4038, allocations: 3.938 kB / 1.354 GB, free: 6.941 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4038, allocations: 8 kB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4038, allocations: 0 / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.381e-05/0.4039, allocations: 51.97 kB / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.4045, allocations: 458.6 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.4046, allocations: 169.2 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.4046, allocations: 84.14 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.4046, allocations: 83.28 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.4047, allocations: 109.8 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.4047, allocations: 3.938 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.957e-05/0.4048, allocations: 33.66 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.4049, allocations: 130.6 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.4051, allocations: 171.7 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.4051, allocations: 29.7 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.4052, allocations: 92.14 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.4052, allocations: 0 / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.4052, allocations: 13.72 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4054, allocations: 322.8 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.4054, allocations: 4 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.4054, allocations: 11.98 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.741e-05/0.4054, allocations: 16.86 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4054, allocations: 3.984 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001166/0.4055, allocations: 53.64 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.4056, allocations: 4 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4056, allocations: 0 / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4056, allocations: 0 / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.4056, allocations: 12.05 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4056, allocations: 3.938 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.768e-05/0.4057, allocations: 7.938 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.4057, allocations: 0 / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.000127/0.4058, allocations: 209 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.4059, allocations: 112.9 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.237e-05/0.406, allocations: 116.8 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.449e-05/0.406, allocations: 180.2 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-05/0.4061, allocations: 180.2 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.315e-05/0.4062, allocations: 180.3 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.4065, allocations: 400.2 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.074e-05/0.4065, allocations: 101 kB / 1.357 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.4066, allocations: 104.9 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.4067, allocations: 176.3 kB / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.4068, allocations: 180.3 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.302e-05/0.4069, allocations: 196.1 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.943e-05/0.407, allocations: 176.3 kB / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.4072, allocations: 312.3 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.4073, allocations: 116.9 kB / 1.359 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.4074, allocations: 184.2 kB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.4075, allocations: 105.2 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.4076, allocations: 184.2 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.4077, allocations: 101 kB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001322/0.4078, allocations: 133.1 kB / 1.359 GB, free: 1.398 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4078, allocations: 0 / 1.359 GB, free: 1.398 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002523/0.4081, allocations: 7.938 kB / 1.359 GB, free: 1.391 MB / 1.045 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.0005369/0.4086, allocations: 0.8127 MB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.442e-05/0.4087, allocations: 15.98 kB / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4087, allocations: 0 / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.4087, allocations: 0 / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.4092, allocations: 467.6 kB / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.4108, allocations: 1.592 MB / 1.362 GB, free: 14.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.4112, allocations: 0.6924 MB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.4112, allocations: 7.984 kB / 1.363 GB, free: 13.67 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.4113, allocations: 15.44 kB / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4113, allocations: 8 kB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.4402, allocations: 1.724 MB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.28, allocations: 9.609 kB / 1.365 GB, free: 12.05 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_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_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable con[1].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[1].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[2].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[2].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[3].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[3].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[4].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[4].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[5].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[5].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.455362766000235]