Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008176/0.0008176, 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.00082/0.00082, allocations: 170.3 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.8947/0.8947, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.801/1.801, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.38e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001486/0.00151, allocations: 0.73 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.002385, allocations: 0.8587 MB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.002428, allocations: 0 / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.00246, allocations: 7.922 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.624e-05/0.002536, allocations: 3.938 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.002688, allocations: 35.91 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.784e-05/0.002786, allocations: 79.75 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.002895, allocations: 11.98 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.989e-05/0.002985, allocations: 51.83 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.003049, allocations: 27.91 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.003076, allocations: 8 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.003087, allocations: 8 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.003109, allocations: 15.92 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.003138, allocations: 23.91 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.003251, allocations: 79.73 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003253, allocations: 4 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.423e-06/0.003255, allocations: 0 / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.003259, allocations: 0 / 1.002 GB, free: 11.48 MB / 0.9636 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.0004654/0.003724, allocations: 298.1 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.003771, allocations: 12.75 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.003808, allocations: 34.75 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.003837, allocations: 8.891 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.003956, allocations: 113.7 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.003974, allocations: 12.31 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.003986, allocations: 4.375 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.004155, allocations: 82.2 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.004163, allocations: 4.172 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.004175, allocations: 4.375 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.004182, allocations: 8.125 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.004324, allocations: 59.94 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.004735, allocations: 291.7 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.004904, allocations: 90.47 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.193e-05/0.004976, allocations: 41.7 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.004993, allocations: 0 / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.005011, allocations: 34.56 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.005012, allocations: 0 / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002929/0.005305, allocations: 137.5 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.005339, allocations: 55.41 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.005416, allocations: 125.8 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.005429, allocations: 25.7 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.005475, allocations: 96.08 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.005498, allocations: 19.8 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.005531, allocations: 17.72 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.005614, allocations: 322.8 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.005687, allocations: 27.97 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/0.005746, allocations: 31.97 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.005874, allocations: 68.81 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.005878, allocations: 3.938 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001697/0.006048, allocations: 109.5 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.006063, allocations: 7.984 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.006068, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.006082, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.006178, allocations: 15.98 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.006184, allocations: 0 / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.006224, allocations: 15.94 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.006232, allocations: 4 kB / 1.004 GB, free: 9.145 MB / 0.9636 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.885e-05/0.006301, allocations: 113.8 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.006318, allocations: 4 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.006343, allocations: 12.44 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006345, allocations: 0 / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.00635, allocations: 0 / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.006354, allocations: 4.531 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.006493, allocations: 160.6 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.006494, allocations: 3.938 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.006547, allocations: 23.98 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006549, allocations: 0 / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.006559, allocations: 8 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.00656, allocations: 0 / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.006561, allocations: 0 / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.006777, allocations: 203.4 kB / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-06/0.006787, allocations: 0 / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.006801, allocations: 4 kB / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.006853, allocations: 11.98 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.006908, allocations: 11.98 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.006914, allocations: 4 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.006956, allocations: 99.64 kB / 1.004 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.006956, allocations: 3.938 kB / 1.004 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001563/0.007112, allocations: 19.89 kB / 1.004 GB, free: 8.402 MB / 0.9636 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.000381/0.007493, allocations: 0.728 MB / 1.005 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.007667, allocations: 71.89 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.007669, allocations: 0 / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.256e-05/0.007742, allocations: 43.95 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.007978, allocations: 14.23 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.009146, allocations: 1.454 MB / 1.007 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.249e-05/0.009199, allocations: 76.52 kB / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.009239, allocations: 8 kB / 1.007 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.009302, allocations: 28.67 kB / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.009303, allocations: 0 / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.02544, allocations: 3.086 MB / 1.01 GB, free: 2.906 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/6.93, allocations: 6.031 kB / 1.01 GB, free: 2.902 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_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_Round.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv. Warning: Get data of variable round1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv failed! Error: Could not read variable round3.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv. Warning: Get data of variable round3.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.15712352655828]