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.0008027/0.0008027, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008036/0.0008036, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9072/0.9072, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.682/1.682, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.837e-06/3.837e-06, allocations: 0 / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.73e-05, allocations: 6.281 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001503/0.001531, allocations: 0.7484 MB / 0.9513 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000875/0.002406, allocations: 0.8587 MB / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.002449, allocations: 0 / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.002479, allocations: 3.938 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.825e-05/0.002557, allocations: 11.88 kB / 0.9522 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.00272, allocations: 39.88 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.00282, allocations: 67.84 kB / 0.9523 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.002943, allocations: 11.98 kB / 0.9523 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.876e-05/0.003042, allocations: 43.89 kB / 0.9523 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.003103, allocations: 35.89 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.003134, allocations: 8 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-06/0.003144, allocations: 4 kB / 0.9524 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.003169, allocations: 19.91 kB / 0.9524 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.003194, allocations: 15.98 kB / 0.9524 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.003311, allocations: 87.73 kB / 0.9525 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003313, allocations: 0 / 0.9525 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003314, allocations: 0 / 0.9525 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.003318, allocations: 0 / 0.9525 GB, free: 1.469 MB / 0.9011 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.0004358/0.003754, allocations: 302 kB / 0.9528 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.003803, allocations: 12.03 kB / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.003834, allocations: 38.69 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.003859, allocations: 8.891 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.00396, allocations: 117.6 kB / 0.9529 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.003977, allocations: 8.375 kB / 0.9529 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.00399, allocations: 16.3 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.004167, allocations: 82.14 kB / 0.953 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.004174, allocations: 192 / 0.953 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.004186, allocations: 4.375 kB / 0.953 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.004192, allocations: 4.125 kB / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.004331, allocations: 63.94 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.004707, allocations: 275.9 kB / 0.9534 GB, free: 452 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.005053, allocations: 90.47 kB / 0.9534 GB, free: 352 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/0.005126, allocations: 40.92 kB / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.005144, allocations: 4 kB / 0.9535 GB, free: 304 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.005164, allocations: 34.56 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.005165, allocations: 4.047 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of matching and sorting (n=6): time 0.0003227/0.005488, allocations: 137.5 kB / 0.9537 GB, free: 112 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.005526, allocations: 59.41 kB / 0.9537 GB, free: 40 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/0.005612, allocations: 121.8 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.005624, allocations: 29.69 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.005669, allocations: 84.14 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.005692, allocations: 23.8 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.005725, allocations: 21.7 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/0.005808, allocations: 318.8 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-05/0.005873, allocations: 27.98 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.351e-05/0.005937, allocations: 31.97 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.006065, allocations: 72.75 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.006068, allocations: 3.938 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001598/0.006227, allocations: 105.6 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.006244, allocations: 10.34 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.00625, allocations: 0 / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.006265, allocations: 0 / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.006361, allocations: 15.98 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.006368, allocations: 7.984 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.006405, allocations: 4 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.006411, allocations: 0 / 0.9546 GB, free: 15.14 MB / 0.9167 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 6.915e-05/0.00648, allocations: 125.7 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.006497, allocations: 7.953 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.006521, allocations: 8.438 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.006525, allocations: 4 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.00653, allocations: 0 / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.006534, allocations: 0 / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.006668, allocations: 157.1 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.00667, allocations: 4 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.006723, allocations: 23.97 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.006726, allocations: 0 / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.006735, allocations: 3.938 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.006737, allocations: 0 / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.006739, allocations: 4 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.006953, allocations: 203.3 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.006967, allocations: 15.83 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.006979, allocations: 4 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.863e-05/0.007028, allocations: 11.98 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.00708, allocations: 11.98 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.007086, allocations: 7.984 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.007123, allocations: 91.27 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007123, allocations: 0 / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001449/0.007268, allocations: 16 kB / 0.9552 GB, free: 14.38 MB / 0.9167 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.0004109/0.007679, allocations: 0.7319 MB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.007862, allocations: 71.88 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.007864, allocations: 4 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.55e-05/0.00794, allocations: 35.97 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.00821, allocations: 8 kB / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.009388, allocations: 1.459 MB / 0.9575 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.009444, allocations: 75.31 kB / 0.9576 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.285e-05/0.009487, allocations: 11.98 kB / 0.9576 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.009547, allocations: 24.48 kB / 0.9576 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.009548, allocations: 0 / 0.9576 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.02941, allocations: 3.081 MB / 0.9606 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/6.728, allocations: 4 kB / 0.9606 GB, free: 8.891 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.910506574437022]