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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 111.1 kB / 16.4 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002268/0.002268, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.19/3.19, allocations: 489.1 MB / 0.7678 GB, free: 29.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001972/0.001972, allocations: 75.89 kB / 1.101 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8862/0.8882, allocations: 163.8 MB / 1.261 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002084/0.8903, allocations: 0.7766 MB / 1.262 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.8915, allocations: 0.8623 MB / 1.263 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.8916, allocations: 4 kB / 1.263 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.8916, allocations: 3.938 kB / 1.263 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.8917, allocations: 11.88 kB / 1.263 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.8919, allocations: 43.88 kB / 1.263 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.8921, allocations: 83.83 kB / 1.263 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.8922, allocations: 27.97 kB / 1.263 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.8923, allocations: 39.84 kB / 1.263 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.8924, allocations: 51.81 kB / 1.263 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.8925, allocations: 8 kB / 1.263 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.017e-05/0.8925, allocations: 8 kB / 1.263 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.8925, allocations: 23.86 kB / 1.263 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.8926, allocations: 35.86 kB / 1.263 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.8928, allocations: 90.45 kB / 1.263 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8928, allocations: 0 / 1.263 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8928, allocations: 0 / 1.263 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.8928, allocations: 0 / 1.263 GB, free: 5.043 MB / 0.9669 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.0007012/0.8935, allocations: 395.1 kB / 1.263 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.8935, allocations: 12.03 kB / 1.263 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.8936, allocations: 38.75 kB / 1.263 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.8936, allocations: 16.81 kB / 1.264 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.8938, allocations: 176.2 kB / 1.264 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.8938, allocations: 4.375 kB / 1.264 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.8939, allocations: 12.12 kB / 1.264 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.8942, allocations: 101.6 kB / 1.264 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.8942, allocations: 0 / 1.264 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.8942, allocations: 0 / 1.264 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.8942, allocations: 4 kB / 1.264 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.8946, allocations: 99.89 kB / 1.264 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.8954, allocations: 344.6 kB / 1.264 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.896, allocations: 122.6 kB / 1.264 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.8962, allocations: 60.72 kB / 1.264 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.8963, allocations: 4 kB / 1.264 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.8963, allocations: 38.5 kB / 1.264 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.8963, allocations: 0 / 1.264 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0008044/0.8971, allocations: 181.5 kB / 1.265 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.8972, allocations: 51.41 kB / 1.265 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.8974, allocations: 125.8 kB / 1.265 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.8974, allocations: 25.7 kB / 1.265 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.8975, allocations: 104.1 kB / 1.265 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.8975, allocations: 15.8 kB / 1.265 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.8976, allocations: 25.7 kB / 1.265 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8977, allocations: 314.8 kB / 1.265 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.8979, allocations: 43.95 kB / 1.265 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.8983, allocations: 56.23 kB / 1.265 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.8989, allocations: 104.9 kB / 1.265 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8989, allocations: 0 / 1.265 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006706/0.8996, allocations: 137.5 kB / 1.266 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.8996, allocations: 8 kB / 1.266 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.8996, allocations: 0 / 1.266 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.8996, allocations: 0 / 1.266 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.8999, allocations: 23.97 kB / 1.266 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.8999, allocations: 3.938 kB / 1.266 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.9001, allocations: 11.98 kB / 1.266 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.9002, allocations: 12 kB / 1.266 GB, free: 2.191 MB / 0.9669 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 0.0001359/0.9003, allocations: 125.8 kB / 1.266 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.9004, allocations: 3.953 kB / 1.266 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006962/0.9011, allocations: 146 kB / 1.266 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.9011, allocations: 0 / 1.266 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.9011, allocations: 3.938 kB / 1.266 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.9011, allocations: 3.938 kB / 1.266 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.9015, allocations: 205.6 kB / 1.266 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9015, allocations: 3.938 kB / 1.266 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.9017, allocations: 27.91 kB / 1.266 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.9017, allocations: 0 / 1.266 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.9018, allocations: 0 / 1.266 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.9018, allocations: 7.984 kB / 1.266 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9018, allocations: 3.938 kB / 1.266 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.9025, allocations: 235.4 kB / 1.266 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/0.9026, allocations: 81.06 kB / 1.266 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.9026, allocations: 7.984 kB / 1.266 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.9029, allocations: 7.984 kB / 1.266 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.903, allocations: 27.91 kB / 1.266 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.903, allocations: 4 kB / 1.266 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.748e-05/0.9031, allocations: 99.27 kB / 1.267 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9031, allocations: 0 / 1.267 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003966/0.9035, allocations: 15.94 kB / 1.267 GB, free: 1.098 MB / 0.9669 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.001162/0.9047, allocations: 0.7709 MB / 1.267 GB, free: 308 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006198/0.9053, allocations: 107.9 kB / 1.267 GB, free: 200 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.9053, allocations: 0 / 1.267 GB, free: 200 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.9057, allocations: 63.89 kB / 1.268 GB, free: 136 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.9062, allocations: 18.27 kB / 1.268 GB, free: 120 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.9086, allocations: 1.533 MB / 1.269 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.9091, allocations: 0.6924 MB / 1.27 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.108e-05/0.9091, allocations: 15.98 kB / 1.27 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-05/0.9092, allocations: 31.42 kB / 1.27 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.9093, allocations: 0 / 1.27 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.9337, allocations: 2.704 MB / 1.272 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.977, allocations: 6.219 kB / 1.272 GB, free: 11.13 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.218657606979832]