Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.001313/0.001313, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00147/0.00147, allocations: 219.9 kB / 22.26 MB, free: 5.125 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.249/3.249, allocations: 0.49 GB / 0.7951 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Round,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Round",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.001952/0.001952, allocations: 78.27 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4064, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.003054/0.4094, allocations: 0.7819 MB / 1.327 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.4114, allocations: 0.8705 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.4114, allocations: 0 / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.388e-05/0.4115, allocations: 7.875 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.4116, allocations: 3.938 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.4119, allocations: 39.94 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.412, allocations: 71.78 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.4122, allocations: 19.98 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.4123, allocations: 27.92 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.4125, allocations: 43.81 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.4125, allocations: 8 kB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.978e-05/0.4125, allocations: 8 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.4126, allocations: 15.92 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.4126, allocations: 27.86 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.4128, allocations: 83.84 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4128, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.785e-06/0.4129, allocations: 4 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.4129, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 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.0008086/0.4137, allocations: 302 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4137, allocations: 8.031 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.4138, allocations: 38.75 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.4138, allocations: 8.891 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.414, allocations: 118.4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.414, allocations: 8.375 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.414, allocations: 8.375 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.4143, allocations: 82.14 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.4143, allocations: 3.938 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.4143, allocations: 4 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.4143, allocations: 0 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.4146, allocations: 67.88 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.4151, allocations: 299.8 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.4154, allocations: 86.47 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.4155, allocations: 36.92 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.4155, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.4156, allocations: 34.56 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.4156, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0005997/0.4162, allocations: 141.5 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.4162, allocations: 51.41 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.4165, allocations: 117.8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.4165, allocations: 25.7 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.4166, allocations: 100 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.4166, allocations: 23.86 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.4167, allocations: 21.7 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002961/0.417, allocations: 318.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.4171, allocations: 27.97 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.4172, allocations: 31.97 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.4174, allocations: 72.81 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4174, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002906/0.4177, allocations: 109.5 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4177, allocations: 4 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.4177, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.4178, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.4179, allocations: 15.98 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4179, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.637e-05/0.418, allocations: 11.98 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.418, allocations: 4 kB / 1.33 GB, free: 13.54 MB / 1.029 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 (6): * Single equations (assignments): 6 * 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.0001255/0.4182, allocations: 124.3 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.4182, allocations: 7.938 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.4182, allocations: 12.38 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4182, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4182, allocations: 112 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.4182, allocations: 3.938 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.4185, allocations: 168.6 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4185, allocations: 7.984 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.4186, allocations: 16.42 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4186, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.4186, allocations: 11.92 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4186, allocations: 4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4186, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.419, allocations: 199.4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.419, allocations: 8 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.419, allocations: 3.938 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4191, allocations: 11.98 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.4192, allocations: 11.98 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.4192, allocations: 7.984 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.612e-05/0.4193, allocations: 91.27 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4193, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002294/0.4195, allocations: 19.95 kB / 1.331 GB, free: 12.77 MB / 1.029 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 (6): * Single equations (assignments): 6 * 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.0008449/0.4203, allocations: 0.7319 MB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002977/0.4206, allocations: 71.94 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4206, allocations: 4 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.4208, allocations: 43.91 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.4212, allocations: 9.875 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.4232, allocations: 1.444 MB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.4235, allocations: 0.6924 MB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.135e-05/0.4236, allocations: 8 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.516e-05/0.4236, allocations: 23.42 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4236, allocations: 0 / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.454, allocations: 2.457 MB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.15, allocations: 6.5 kB / 1.336 GB, free: 7.281 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable round1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv. Warning: Get data of variable round1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv failed! Error: Could not read variable round3.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv. Warning: Get data of variable round3.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.29062258200065]