Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.546/2.546, allocations: 476.7 MB / 0.7628 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 75.88 kB / 1.107 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7806/0.7826, allocations: 168.7 MB / 1.271 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001592/0.7842, allocations: 0.7846 MB / 1.272 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006787/0.7849, allocations: 0.8442 MB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.7849, allocations: 0.9688 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.7849, allocations: 4.828 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.785, allocations: 14.48 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.7851, allocations: 25.38 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.15e-05/0.7852, allocations: 63.42 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.7853, allocations: 24.09 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.7854, allocations: 32.39 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.7854, allocations: 44.12 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.7855, allocations: 7.031 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.7855, allocations: 6.688 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.7855, allocations: 18.7 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.7855, allocations: 36.58 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.7856, allocations: 69.45 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7856, allocations: 0 / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7856, allocations: 0.8125 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7857, allocations: 0 / 1.273 GB, free: 6.367 MB / 0.9981 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.000428/0.7861, allocations: 381.8 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.7861, allocations: 9.469 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.438e-05/0.7861, allocations: 38.33 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.7862, allocations: 8.203 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.201e-05/0.7862, allocations: 183.6 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.7863, allocations: 2.219 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.7863, allocations: 8.484 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.7865, allocations: 85.14 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7865, allocations: 3.938 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.7865, allocations: 0.875 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.7865, allocations: 1.562 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.7867, allocations: 64.81 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.787, allocations: 326.7 kB / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.7873, allocations: 84.56 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.7874, allocations: 40.02 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.7874, allocations: 1.094 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.7874, allocations: 32.25 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.7874, allocations: 0 / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.00042/0.7878, allocations: 139.1 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.714e-05/0.7878, allocations: 56.36 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.7879, allocations: 122.6 kB / 1.275 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.7879, allocations: 26.42 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.7879, allocations: 95.25 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.788, allocations: 24.31 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.788, allocations: 15.66 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.499e-05/0.788, allocations: 327.7 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.7881, allocations: 33.06 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-05/0.7882, allocations: 28.02 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.7884, allocations: 76.88 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7884, allocations: 0 / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002445/0.7887, allocations: 104.8 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.7887, allocations: 5.094 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.7887, allocations: 1 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.7887, allocations: 0 / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.7888, allocations: 17.39 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.7888, allocations: 0 / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.7889, allocations: 15.45 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.7889, allocations: 1.844 kB / 1.276 GB, free: 4.41 MB / 0.9981 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 4.823e-05/0.789, allocations: 125.5 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.789, allocations: 7.328 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.789, allocations: 12.83 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.789, allocations: 4.859 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.789, allocations: 0 / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.789, allocations: 1 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.7892, allocations: 192.5 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7892, allocations: 0.9688 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.7893, allocations: 12.98 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.7893, allocations: 7 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.7893, allocations: 4.938 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7893, allocations: 1.031 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.7893, allocations: 0 / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.7895, allocations: 202.2 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.7896, allocations: 83.16 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.7896, allocations: 5.625 kB / 1.276 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.7897, allocations: 14.2 kB / 1.276 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.7897, allocations: 12.92 kB / 1.276 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.7897, allocations: 7.422 kB / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.7898, allocations: 100.6 kB / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7898, allocations: 0 / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002127/0.79, allocations: 14.34 kB / 1.276 GB, free: 3.688 MB / 0.9981 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.0004588/0.7905, allocations: 0.743 MB / 1.277 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.7907, allocations: 72.41 kB / 1.277 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7907, allocations: 0 / 1.277 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.7908, allocations: 42.78 kB / 1.277 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.7911, allocations: 10.38 kB / 1.277 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.7925, allocations: 1.447 MB / 1.279 GB, free: 17.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.7928, allocations: 0.6901 MB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.635e-05/0.7928, allocations: 12.81 kB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.7929, allocations: 20.94 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.7929, allocations: 1.094 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.816, allocations: 2.319 MB / 1.282 GB, free: 16.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.818, allocations: 3.703 kB / 1.282 GB, free: 16.57 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv. Warning: Get data of variable round1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv failed! Error: Could not read variable round3.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv. Warning: Get data of variable round3.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.32486925899866]