Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001018/0.001018, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0009756/0.0009756, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8875/0.8875, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.726/1.726, allocations: 389 MB / 0.633 GB, free: 12.67 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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.188e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001264/0.001286, allocations: 0.6911 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007602/0.002046, allocations: 0.8238 MB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.002078, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.002108, allocations: 7.938 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.807e-05/0.002166, allocations: 7.875 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.00227, allocations: 23.91 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.247e-05/0.002342, allocations: 39.86 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.00244, allocations: 8 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.002516, allocations: 23.97 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.002557, allocations: 19.91 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.00258, allocations: 4 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-06/0.002589, allocations: 4 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.002609, allocations: 7.984 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.002631, allocations: 15.94 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.379e-05/0.002725, allocations: 43.86 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.002728, allocations: 0 / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002729, allocations: 0 / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.002733, allocations: 4 kB / 1.001 GB, free: 11.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003663/0.0031, allocations: 278.3 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.003137, allocations: 8.75 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.003166, allocations: 38.69 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.003187, allocations: 8.891 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.971e-05/0.003267, allocations: 125.7 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.003277, allocations: 384 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.003284, allocations: 384 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.003447, allocations: 70.22 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003454, allocations: 4.125 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.003462, allocations: 384 / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.003468, allocations: 4.125 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.003611, allocations: 67.92 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.0039, allocations: 232 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.004017, allocations: 54.53 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.004093, allocations: 32.92 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.004113, allocations: 11.92 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.004134, allocations: 38.55 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.004135, allocations: 0 / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003071/0.004442, allocations: 133.5 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.00447, allocations: 51.41 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.004532, allocations: 109.8 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.004542, allocations: 25.7 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.004578, allocations: 92.12 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.004593, allocations: 7.953 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.004619, allocations: 13.72 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.004705, allocations: 314.8 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.004779, allocations: 31.95 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.004844, allocations: 31.97 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.00498, allocations: 68.78 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004982, allocations: 7.938 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001645/0.005146, allocations: 105.5 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.005158, allocations: 4 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.005162, allocations: 0 / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.005174, allocations: 4 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.005255, allocations: 19.97 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.00526, allocations: 320 / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.005296, allocations: 11.98 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.005302, allocations: 0 / 1.003 GB, free: 9.508 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 (3): * Single equations (assignments): 3 * 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 5.297e-05/0.005355, allocations: 109.8 kB / 1.003 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.005369, allocations: 7.938 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.005566, allocations: 117.5 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.005567, allocations: 0 / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.005572, allocations: 0 / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.005576, allocations: 3.984 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.005686, allocations: 136.6 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005687, allocations: 0 / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.005733, allocations: 19.92 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.005734, allocations: 0 / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.005741, allocations: 4 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.005743, allocations: 0 / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.005745, allocations: 3.984 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.005929, allocations: 195.5 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-06/0.005937, allocations: 7.938 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.005946, allocations: 4.359 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.03e-05/0.005997, allocations: 11.98 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.006034, allocations: 15.98 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.006037, allocations: 4 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.816e-05/0.006065, allocations: 79.28 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006065, allocations: 4 kB / 1.004 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001473/0.006213, allocations: 11.95 kB / 1.004 GB, free: 8.703 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 (3): * Single equations (assignments): 3 * 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.0003985/0.006611, allocations: 0.7202 MB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.006808, allocations: 75.86 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.00681, allocations: 0 / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.104e-05/0.006901, allocations: 39.95 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.007163, allocations: 4 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.007553, allocations: 163.2 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.031e-05/0.007613, allocations: 67.28 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.007638, allocations: 3.938 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.007686, allocations: 20.48 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.007687, allocations: 0 / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.02456, allocations: 2.315 MB / 1.007 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.806/6.83, allocations: 4 kB / 1.007 GB, free: 5.344 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_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_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable min1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.976572477258742]