Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001784/0.001784, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002132/0.002132, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.793 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.416/3.416, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.002033/0.002033, allocations: 68.12 kB / 1.186 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3892, allocations: 181.9 MB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002359/0.3916, allocations: 0.6671 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3929, allocations: 0.8436 MB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.393, allocations: 0 / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.393, allocations: 0 / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.253e-05/0.3931, allocations: 3.938 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.3932, allocations: 19.98 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.925e-05/0.3933, allocations: 15.94 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.3934, allocations: 11.98 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.409e-05/0.3935, allocations: 7.938 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.3935, allocations: 7.984 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3935, allocations: 4 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.26e-05/0.3936, allocations: 7.984 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.3936, allocations: 7.938 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.3936, allocations: 4 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3937, allocations: 32.11 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3937, allocations: 4 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3937, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3937, allocations: 0 / 1.365 GB, free: 12.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004386/0.3942, allocations: 259.9 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3942, allocations: 8.031 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.3942, allocations: 30.75 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.195e-05/0.3943, allocations: 12.83 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3944, allocations: 106.5 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3945, allocations: 384 / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.3945, allocations: 384 / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3947, allocations: 54.23 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3947, allocations: 3.938 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3947, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3947, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.3949, allocations: 39.89 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.3953, allocations: 212 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.3954, allocations: 42.53 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.3955, allocations: 28.91 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3955, allocations: 0 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3955, allocations: 34.5 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3955, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003612/0.3959, allocations: 85.58 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.3959, allocations: 51.41 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/0.396, allocations: 102 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.3961, allocations: 33.7 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.3961, allocations: 92.08 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.3962, allocations: 7.891 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.3962, allocations: 13.72 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3964, allocations: 318.8 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.3965, allocations: 11.98 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.3965, allocations: 19.98 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3967, allocations: 40.89 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3967, allocations: 3.938 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001902/0.3969, allocations: 65.59 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3969, allocations: 8 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3969, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3969, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.397, allocations: 7.984 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.397, allocations: 4.031 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.397, allocations: 7.984 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.397, allocations: 4 kB / 1.367 GB, free: 10.68 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 (2): * Single equations (assignments): 2 * 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.645e-05/0.3971, allocations: 113.8 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.3972, allocations: 0 / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.3974, allocations: 72.91 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3974, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3974, allocations: 4 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3974, allocations: 4.031 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.3976, allocations: 128.7 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3976, allocations: 4 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.3976, allocations: 7.984 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3976, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.3976, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3976, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.269e-06/0.3976, allocations: 4 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.3979, allocations: 171.4 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.3979, allocations: 3.938 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.3979, allocations: 3.938 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.398, allocations: 7.984 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.398, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.398, allocations: 7.938 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.3981, allocations: 87.27 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3981, allocations: 0 / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00027/0.3984, allocations: 4 kB / 1.367 GB, free: 9.988 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 (2): * Single equations (assignments): 2 * 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.0006438/0.399, allocations: 0.689 MB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.3992, allocations: 31.97 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3992, allocations: 0 / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.457e-05/0.3993, allocations: 27.91 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.3996, allocations: 12.09 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.4001, allocations: 127.3 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.685e-05/0.4001, allocations: 63.34 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.4002, allocations: 0 / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.4002, allocations: 11.44 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of SimCode: time 2.5e-07/0.4002, allocations: 0 / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.4314, allocations: 1.804 MB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.97, allocations: 8.375 kB / 1.37 GB, free: 7.266 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_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_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable Exp1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv. Warning: Get data of variable Exp1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.163541111163795]