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.001039/0.001039, 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.000922/0.000922, allocations: 169.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.9402/0.9402, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.745/1.745, allocations: 377.9 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 0 / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.863e-05, allocations: 2.281 kB / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002339/0.002368, allocations: 0.7523 MB / 0.9818 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.004087, allocations: 0.8703 MB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.004136, allocations: 0 / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.004167, allocations: 3.938 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.691e-05/0.004244, allocations: 3.938 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.004406, allocations: 35.91 kB / 0.9827 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.004494, allocations: 71.81 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.004601, allocations: 15.98 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.553e-05/0.004686, allocations: 39.91 kB / 0.9828 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.004741, allocations: 31.89 kB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.004766, allocations: 8 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.004775, allocations: 4 kB / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.004797, allocations: 19.92 kB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.004826, allocations: 23.91 kB / 0.9829 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.004938, allocations: 83.72 kB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.004941, allocations: 4 kB / 0.9829 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.603e-06/0.004943, allocations: 0 / 0.9829 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004947, allocations: 0 / 0.9829 GB, free: 0.5547 MB / 0.9323 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.0004094/0.005357, allocations: 294.1 kB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.005395, allocations: 8.031 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.005426, allocations: 42.73 kB / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.00545, allocations: 8.891 kB / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.005544, allocations: 125.6 kB / 0.9834 GB, free: 20 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.005559, allocations: 4.375 kB / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.005569, allocations: 8.375 kB / 0.9834 GB, free: 8 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.00573, allocations: 82.2 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.005737, allocations: 192 / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.005748, allocations: 4.375 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.005754, allocations: 4.125 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.005892, allocations: 71.88 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.006245, allocations: 271.9 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.0064, allocations: 90.47 kB / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/0.006469, allocations: 36.92 kB / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.006484, allocations: 8 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.006502, allocations: 34.56 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.006503, allocations: 0 / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002881/0.006791, allocations: 141.4 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.006821, allocations: 55.41 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.69e-05/0.006888, allocations: 121.8 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.006898, allocations: 25.7 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.006936, allocations: 92.12 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.006958, allocations: 23.78 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.00699, allocations: 21.7 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.007069, allocations: 318.8 kB / 0.9848 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.101e-05/0.00713, allocations: 31.97 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/0.007187, allocations: 31.97 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.007307, allocations: 72.75 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.007311, allocations: 3.938 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001503/0.007461, allocations: 101.6 kB / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.007473, allocations: 8 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.007477, allocations: 0 / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.007487, allocations: 0 / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.007577, allocations: 15.98 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.007581, allocations: 448 / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.007617, allocations: 11.98 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.007623, allocations: 4 kB / 0.985 GB, free: 14.23 MB / 0.948 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.108e-05/0.007684, allocations: 117.8 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.007701, allocations: 15.89 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.007721, allocations: 16.42 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007724, allocations: 4 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.007728, allocations: 0 / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.007732, allocations: 3.984 kB / 0.9852 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.007853, allocations: 152.7 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.007854, allocations: 4 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.007899, allocations: 15.98 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.0079, allocations: 0 / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.007909, allocations: 3.984 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.00791, allocations: 0 / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007912, allocations: 4 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.008091, allocations: 199.4 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.008102, allocations: 11.89 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.008113, allocations: 3.938 kB / 0.9856 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.972e-05/0.008163, allocations: 11.98 kB / 0.9856 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.008208, allocations: 11.98 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.008213, allocations: 4 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.008249, allocations: 95.27 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.008249, allocations: 0 / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001532/0.008402, allocations: 12 kB / 0.9857 GB, free: 13.48 MB / 0.948 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.000415/0.008817, allocations: 0.7357 MB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001638/0.008981, allocations: 75.88 kB / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.008982, allocations: 0 / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.182e-05/0.009054, allocations: 39.97 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.009289, allocations: 8 kB / 0.9865 GB, free: 12.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.01039, allocations: 1.465 MB / 0.9879 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.149e-05/0.01045, allocations: 71.58 kB / 0.988 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.01048, allocations: 11.75 kB / 0.988 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.01054, allocations: 24.48 kB / 0.9881 GB, free: 10.93 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.01054, allocations: 3.938 kB / 0.9881 GB, free: 10.92 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.02454, allocations: 3.079 MB / 0.9911 GB, free: 7.988 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/6.895, allocations: 5.844 kB / 0.9911 GB, free: 7.988 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.0979915978387]