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.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.00139/0.00139, allocations: 113 kB / 18.94 MB, free: 2.934 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.001674/0.001674, allocations: 208.9 kB / 22.25 MB, free: 5.086 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.838/2.838, allocations: 476.7 MB / 0.7707 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002077/0.002077, allocations: 64.75 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3379, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002243/0.3401, allocations: 0.7742 MB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3414, allocations: 0.8705 MB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.3414, allocations: 0 / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.3415, allocations: 11.86 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.3415, allocations: 7.938 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.3417, allocations: 23.97 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3418, allocations: 87.75 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.3419, allocations: 11.98 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/0.3419, allocations: 31.92 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.342, allocations: 39.84 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.342, allocations: 7.984 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.342, allocations: 8 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.3421, allocations: 19.92 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.3421, allocations: 23.86 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3422, allocations: 84.25 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3422, allocations: 0 / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3422, allocations: 0 / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.3422, allocations: 4 kB / 1.285 GB, free: 9.691 MB / 0.9825 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.0005763/0.3428, allocations: 306 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3428, allocations: 8.031 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.3429, allocations: 34.73 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.3429, allocations: 12.89 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3431, allocations: 122.4 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3431, allocations: 384 / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.3431, allocations: 8.375 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.3434, allocations: 86.14 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3434, allocations: 3.938 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3434, allocations: 0 / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3434, allocations: 7.984 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.3436, allocations: 67.94 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.3441, allocations: 303.7 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.3444, allocations: 86.53 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.3445, allocations: 36.86 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3446, allocations: 0 / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3446, allocations: 30.56 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.3446, allocations: 4 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004866/0.3451, allocations: 129.8 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.3451, allocations: 55.34 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3452, allocations: 125.8 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3452, allocations: 25.7 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.3453, allocations: 96.09 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.3453, allocations: 23.78 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.3454, allocations: 17.72 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3455, allocations: 326.8 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3457, allocations: 32.03 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3458, allocations: 35.97 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.346, allocations: 64.81 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.346, allocations: 4 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002667/0.3462, allocations: 101.5 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3463, allocations: 11.98 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3463, allocations: 0 / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3463, allocations: 0 / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.3464, allocations: 15.98 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3464, allocations: 0 / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.3465, allocations: 11.98 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.3465, allocations: 4 kB / 1.287 GB, free: 7.34 MB / 0.9825 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 9.567e-05/0.3466, allocations: 117.8 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.3466, allocations: 7.953 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.3467, allocations: 8.375 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3467, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3467, allocations: 4 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3467, allocations: 3.984 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.3469, allocations: 164.7 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3469, allocations: 3.938 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.347, allocations: 27.92 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.347, allocations: 0 / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.347, allocations: 0 / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.347, allocations: 3.938 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.347, allocations: 192 / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.3473, allocations: 211.4 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.3474, allocations: 4 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3474, allocations: 4 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3475, allocations: 7.984 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.3475, allocations: 11.98 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.3476, allocations: 4 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.009e-05/0.3476, allocations: 95.27 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3476, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000224/0.3478, allocations: 11.95 kB / 1.288 GB, free: 6.594 MB / 0.9825 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.0006919/0.3485, allocations: 0.7397 MB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002878/0.3488, allocations: 71.94 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3488, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.349, allocations: 43.91 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3493, allocations: 8 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3511, allocations: 1.445 MB / 1.29 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3514, allocations: 0.6846 MB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.186e-05/0.3514, allocations: 11.98 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.3515, allocations: 27.42 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3515, allocations: 0 / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.3797, allocations: 2.465 MB / 1.294 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.27, allocations: 7.844 kB / 1.294 GB, free: 1.102 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.1719615589991]