Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.0008559/0.0008559, 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.001006/0.001006, 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.8729/0.8729, allocations: 177.1 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.763/1.763, 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.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.102e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001381/0.001402, allocations: 0.7549 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007933/0.002195, allocations: 0.8867 MB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.002235, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.002267, allocations: 11.88 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.892e-05/0.002346, allocations: 15.86 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.002511, allocations: 43.83 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.002634, allocations: 83.81 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.002748, allocations: 19.92 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.002843, allocations: 55.88 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.002912, allocations: 39.89 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.002939, allocations: 8 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.002951, allocations: 8 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.002975, allocations: 19.91 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.00301, allocations: 31.91 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.003143, allocations: 95.72 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003146, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003147, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.003152, allocations: 0 / 1.002 GB, free: 11.38 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004554/0.003607, allocations: 314 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.003649, allocations: 8.75 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.003683, allocations: 42.73 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.003709, allocations: 8.891 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.788e-05/0.003806, allocations: 125.6 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.00382, allocations: 4.375 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.003832, allocations: 4.375 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.004025, allocations: 113.9 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.004032, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.004042, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.004047, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.004247, allocations: 99.89 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.004626, allocations: 295.8 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.004974, allocations: 118.5 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.005071, allocations: 52.81 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.005089, allocations: 4 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.005105, allocations: 38.56 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.005106, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003766/0.005483, allocations: 181.5 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.005512, allocations: 59.34 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.005584, allocations: 121.8 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.005598, allocations: 33.7 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.005642, allocations: 96.03 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.005661, allocations: 15.89 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.005696, allocations: 25.66 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.005777, allocations: 326.8 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.005871, allocations: 43.95 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.894e-05/0.00596, allocations: 48.25 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.006142, allocations: 100.8 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006144, allocations: 0 / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002349/0.006379, allocations: 133.5 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.006391, allocations: 7.938 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006395, allocations: 4 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.006407, allocations: 3.984 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.006489, allocations: 35.91 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.006494, allocations: 0 / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.006546, allocations: 15.92 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.006553, allocations: 3.938 kB / 1.004 GB, free: 8.75 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.957e-05/0.006613, allocations: 113.8 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.006631, allocations: 7.953 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.006882, allocations: 150 kB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.006885, allocations: 4 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.006889, allocations: 0 / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.006892, allocations: 0 / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.007015, allocations: 164.6 kB / 1.004 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007016, allocations: 0 / 1.004 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.007081, allocations: 31.91 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007083, allocations: 4 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.007092, allocations: 7.922 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007093, allocations: 0 / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.007094, allocations: 0 / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.007328, allocations: 231.4 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.007338, allocations: 7.938 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.007351, allocations: 4 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.00742, allocations: 15.98 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.007512, allocations: 23.97 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.007517, allocations: 3.984 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.76e-05/0.007555, allocations: 95.27 kB / 1.005 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007555, allocations: 0 / 1.005 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001557/0.00771, allocations: 27.83 kB / 1.005 GB, free: 7.801 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004479/0.008158, allocations: 0.7554 MB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.008454, allocations: 108.3 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.008456, allocations: 0 / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.00856, allocations: 59.94 kB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.008772, allocations: 18 kB / 1.006 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.01034, allocations: 1.543 MB / 1.007 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.028e-05/0.01039, allocations: 77.56 kB / 1.007 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.264e-05/0.01044, allocations: 15.98 kB / 1.007 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.0105, allocations: 32.67 kB / 1.007 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.0105, allocations: 0 / 1.007 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.02529, allocations: 3.482 MB / 1.011 GB, free: 1.727 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/6.886, allocations: 12.67 kB / 1.011 GB, free: 1.719 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! Error: Could not read variable min1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.031898117624223]