Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001493/0.001493, allocations: 103 kB / 16.45 MB, free: 6.449 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.001405/0.001405, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.354/3.354, allocations: 0.505 GB / 0.8066 GB, free: 23.14 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.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",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.002059/0.002059, allocations: 75.55 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 180.2 MB / 1.348 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001891/0.366, allocations: 0.7079 MB / 1.349 GB, free: 9.289 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.367, allocations: 0.8358 MB / 1.349 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.367, allocations: 0 / 1.349 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.3671, allocations: 3.938 kB / 1.349 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.698e-05/0.3671, allocations: 11.92 kB / 1.349 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.3672, allocations: 15.97 kB / 1.349 GB, free: 8.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.87e-05/0.3673, allocations: 39.86 kB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.3674, allocations: 11.98 kB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.3675, allocations: 12 kB / 1.349 GB, free: 8.348 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.3675, allocations: 31.84 kB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.3675, allocations: 4 kB / 1.349 GB, free: 8.312 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.3676, allocations: 4 kB / 1.349 GB, free: 8.309 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.3676, allocations: 7.938 kB / 1.349 GB, free: 8.301 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.3676, allocations: 15.92 kB / 1.349 GB, free: 8.285 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3677, allocations: 55.95 kB / 1.35 GB, free: 8.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3677, allocations: 0 / 1.35 GB, free: 8.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3677, allocations: 0 / 1.35 GB, free: 8.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3677, allocations: 0 / 1.35 GB, free: 8.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005772/0.3683, allocations: 365 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3684, allocations: 15.97 kB / 1.35 GB, free: 7.809 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.3684, allocations: 34.75 kB / 1.35 GB, free: 7.766 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.3684, allocations: 0.9375 kB / 1.35 GB, free: 7.766 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.3686, allocations: 176.3 kB / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.3686, allocations: 384 / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3686, allocations: 384 / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.3688, allocations: 74.2 kB / 1.35 GB, free: 7.477 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3689, allocations: 7.938 kB / 1.35 GB, free: 7.469 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3689, allocations: 0 / 1.35 GB, free: 7.469 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3689, allocations: 3.938 kB / 1.35 GB, free: 7.465 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.3692, allocations: 63.94 kB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.3695, allocations: 268.9 kB / 1.351 GB, free: 7.09 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.3697, allocations: 58.53 kB / 1.351 GB, free: 7.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.3699, allocations: 32.92 kB / 1.351 GB, free: 6.988 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.3699, allocations: 0 / 1.351 GB, free: 6.988 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.37, allocations: 42.48 kB / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.37, allocations: 4 kB / 1.351 GB, free: 6.934 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005641/0.3705, allocations: 125.6 kB / 1.351 GB, free: 6.805 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.3706, allocations: 51.41 kB / 1.351 GB, free: 6.742 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.629e-05/0.3707, allocations: 113.8 kB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3707, allocations: 25.7 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.3707, allocations: 92.12 kB / 1.351 GB, free: 6.496 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3708, allocations: 11.89 kB / 1.351 GB, free: 6.484 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3708, allocations: 13.72 kB / 1.351 GB, free: 6.465 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3709, allocations: 318.8 kB / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.3711, allocations: 35.95 kB / 1.351 GB, free: 6.109 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.3712, allocations: 35.91 kB / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.3715, allocations: 76.98 kB / 1.351 GB, free: 5.996 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3715, allocations: 0 / 1.351 GB, free: 5.996 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003329/0.3719, allocations: 97.62 kB / 1.352 GB, free: 5.895 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3719, allocations: 4 kB / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3719, allocations: 0 / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3719, allocations: 7.984 kB / 1.352 GB, free: 5.883 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.372, allocations: 11.98 kB / 1.352 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.372, allocations: 0 / 1.352 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.998e-05/0.3721, allocations: 15.92 kB / 1.352 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.3721, allocations: 0 / 1.352 GB, free: 5.855 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 (3): * Single equations (assignments): 3 * 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 9.041e-05/0.3722, allocations: 125.7 kB / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3722, allocations: 3.953 kB / 1.352 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.3726, allocations: 105.5 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3726, allocations: 0 / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3726, allocations: 3.984 kB / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3726, allocations: 0 / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.3728, allocations: 173.5 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3728, allocations: 4 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-05/0.3729, allocations: 15.98 kB / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3729, allocations: 0 / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3729, allocations: 0 / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3729, allocations: 0 / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3729, allocations: 3.984 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.3734, allocations: 199.4 kB / 1.352 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.3735, allocations: 81.06 kB / 1.352 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.3735, allocations: 4 kB / 1.352 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3736, allocations: 11.98 kB / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.3737, allocations: 3.984 kB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.3737, allocations: 8 kB / 1.352 GB, free: 5.016 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.3737, allocations: 87.27 kB / 1.352 GB, free: 4.93 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3737, allocations: 4 kB / 1.352 GB, free: 4.926 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002215/0.374, allocations: 8 kB / 1.352 GB, free: 4.918 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 (3): * Single equations (assignments): 3 * 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.0008058/0.3748, allocations: 0.7319 MB / 1.353 GB, free: 4.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.3751, allocations: 67.86 kB / 1.353 GB, free: 4.094 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3751, allocations: 0 / 1.353 GB, free: 4.094 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.3753, allocations: 31.97 kB / 1.353 GB, free: 4.062 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.3756, allocations: 12 kB / 1.353 GB, free: 4.051 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.3762, allocations: 163 kB / 1.353 GB, free: 3.852 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3765, allocations: 0.6768 MB / 1.354 GB, free: 3.148 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.602e-05/0.3765, allocations: 4.375 kB / 1.354 GB, free: 3.145 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.3766, allocations: 15.42 kB / 1.354 GB, free: 3.129 MB / 1.045 GB Notification: Performance of SimCode: time 2.71e-07/0.3766, allocations: 0 / 1.354 GB, free: 3.129 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.4048, allocations: 1.632 MB / 1.356 GB, free: 1.59 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.554, allocations: 3.984 kB / 1.356 GB, free: 1.586 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_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_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable max1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.623609372181818]