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.001403/0.001403, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001801/0.001801, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.781 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.459/3.459, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002117/0.002117, allocations: 68.89 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3573, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.00206/0.3593, allocations: 0.7082 MB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3603, allocations: 0.8358 MB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.3604, allocations: 0 / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.3604, allocations: 0 / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.3605, allocations: 15.88 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001068/0.3606, allocations: 11.98 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.44e-05/0.3607, allocations: 43.91 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3608, allocations: 4 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.3609, allocations: 27.91 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.3609, allocations: 15.92 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.361, allocations: 4 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.361, allocations: 4 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.361, allocations: 11.92 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.361, allocations: 11.94 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.474e-05/0.3611, allocations: 44.03 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3611, allocations: 4 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3611, allocations: 0 / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3611, allocations: 0 / 1.365 GB, free: 12.28 MB / 1.061 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.000487/0.3616, allocations: 282.2 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3616, allocations: 12.03 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.3617, allocations: 34.75 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.3617, allocations: 4.891 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.3618, allocations: 114.5 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3618, allocations: 4.375 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.3618, allocations: 4.375 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.3621, allocations: 70.2 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3621, allocations: 7.938 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.3621, allocations: 4 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3621, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.3624, allocations: 75.84 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.3627, allocations: 232 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.3629, allocations: 54.53 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.3631, allocations: 32.92 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.3631, allocations: 3.938 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3631, allocations: 42.5 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3631, allocations: 0 / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005282/0.3637, allocations: 129.6 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3637, allocations: 51.41 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.3638, allocations: 109.8 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3638, allocations: 29.64 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.3639, allocations: 88.09 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.3639, allocations: 11.94 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.3639, allocations: 17.72 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.364, allocations: 314.8 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3642, allocations: 31.95 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.3643, allocations: 35.91 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.3646, allocations: 72.72 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3646, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000317/0.3649, allocations: 93.62 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3649, allocations: 8 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.365, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.365, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3651, allocations: 19.97 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3651, allocations: 4 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.3652, allocations: 11.94 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3652, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 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 8.31e-05/0.3653, allocations: 117.7 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.3653, allocations: 4 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.3656, allocations: 105.6 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3656, allocations: 4 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3656, allocations: 0 / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3656, allocations: 0 / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.3658, allocations: 140.6 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3658, allocations: 0 / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.911e-05/0.3659, allocations: 19.98 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.3659, allocations: 0 / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3659, allocations: 0 / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3659, allocations: 0 / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3659, allocations: 4 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.3663, allocations: 207.6 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.3663, allocations: 4.031 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3663, allocations: 4 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3664, allocations: 15.98 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.3665, allocations: 3.984 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3665, allocations: 4 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.3665, allocations: 87.28 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3665, allocations: 0 / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002169/0.3667, allocations: 8 kB / 1.368 GB, free: 9.312 MB / 1.061 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.0006683/0.3674, allocations: 0.7279 MB / 1.368 GB, free: 8.559 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.3677, allocations: 71.86 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3677, allocations: 4 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.3679, allocations: 35.95 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3682, allocations: 10.5 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.3686, allocations: 147.2 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.971e-05/0.3687, allocations: 67.34 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.3687, allocations: 0 / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.3688, allocations: 19.44 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3688, allocations: 0 / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.396, allocations: 2.2 MB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.03, allocations: 6.359 kB / 1.371 GB, free: 6.082 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.36480117868632]